!function e(t, a, i) {
    function s(r, n) {
        if (!a[r]) {
            if (!t[r]) {
                var l = "function" == typeof require && require;
                if (!n && l) return l(r, !0);
                if (o) return o(r, !0);
                var d = new Error("Cannot find module '" + r + "'");
                throw d.code = "MODULE_NOT_FOUND",
                d
            }
            var c = a[r] = {
                exports: {}
            };
            t[r][0].call(c.exports, (function(e) {
                return s(t[r][1][e] || e)
            }), c, c.exports, e, t, a, i)
        }
        return a[r].exports
    }
    for (var o = "function" == typeof require && require,
    r = 0; r < i.length; r++) s(i[r]);
    return s
} ({
    1 : [function(e, t, a) {
        "use strict";
        e("./bootstrap/alert.js"),
        e("./bootstrap/collapse.js"),
        e("./bootstrap/modal.js"),
        e("./bootstrap/tooltip.js"),
        e("./bootstrap/tab.js")
    },
    {
        "./bootstrap/alert.js": 2,
        "./bootstrap/collapse.js": 3,
        "./bootstrap/modal.js": 4,
        "./bootstrap/tab.js": 5,
        "./bootstrap/tooltip.js": 6
    }],
    2 : [function(e, t, a) {
        "use strict"; !
        function(e) {
            var t = '[data-dismiss="alert"]',
            a = function(a) {
                e(a).on("click", t, this.close)
            };
            a.VERSION = "3.3.7",
            a.TRANSITION_DURATION = 150,
            a.prototype.close = function(t) {
                var i = e(this),
                s = i.attr("data-target");
                s || (s = (s = i.attr("href")) && s.replace(/.*(?=#[^\s]*$)/, ""));
                var o = e("#" === s ? [] : s);
                function r() {
                    o.detach().trigger("closed.bs.alert").remove()
                }
                t && t.preventDefault(),
                o.length || (o = i.closest(".alert")),
                o.trigger(t = e.Event("close.bs.alert")),
                t.isDefaultPrevented() || (o.removeClass("in"), e.support.transition && o.hasClass("fade") ? o.one("bsTransitionEnd", r).emulateTransitionEnd(a.TRANSITION_DURATION) : r())
            };
            var i = e.fn.alert;
            e.fn.alert = function(t) {
                return this.each((function() {
                    var i = e(this),
                    s = i.data("bs.alert");
                    s || i.data("bs.alert", s = new a(this)),
                    "string" == typeof t && s[t].call(i)
                }))
            },
            e.fn.alert.Constructor = a,
            e.fn.alert.noConflict = function() {
                return e.fn.alert = i,
                this
            },
            e(document).on("click.bs.alert.data-api", t, a.prototype.close)
        } (jQuery)
    },
    {}],
    3 : [function(e, t, a) {
        "use strict";
        function i(e) {
            return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ?
            function(e) {
                return typeof e
            }: function(e) {
                return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol": typeof e
            })(e)
        } !
        function(e) {
            var t = function t(a, i) {
                this.$element = e(a),
                this.options = e.extend({},
                t.DEFAULTS, i),
                this.$trigger = e('[data-toggle="collapse"][href="#' + a.id + '"],[data-toggle="collapse"][data-target="#' + a.id + '"]'),
                this.transitioning = null,
                this.options.parent ? this.$parent = this.getParent() : this.addAriaAndCollapsedClass(this.$element, this.$trigger),
                this.options.toggle && this.toggle()
            };
            function a(t) {
                var a, i = t.attr("data-target") || (a = t.attr("href")) && a.replace(/.*(?=#[^\s]+$)/, "");
                return e(i)
            }
            function s(a) {
                return this.each((function() {
                    var s = e(this),
                    o = s.data("bs.collapse"),
                    r = e.extend({},
                    t.DEFAULTS, s.data(), "object" == i(a) && a); ! o && r.toggle && /show|hide/.test(a) && (r.toggle = !1),
                    o || s.data("bs.collapse", o = new t(this, r)),
                    "string" == typeof a && o[a]()
                }))
            }
            t.VERSION = "3.3.7",
            t.TRANSITION_DURATION = 350,
            t.DEFAULTS = {
                toggle: !0
            },
            t.prototype.dimension = function() {
                return this.$element.hasClass("width") ? "width": "height"
            },
            t.prototype.show = function() {
                if (!this.transitioning && !this.$element.hasClass("in")) {
                    var a, i = this.$parent && this.$parent.children(".panel").children(".in, .collapsing");
                    if (! (i && i.length && (a = i.data("bs.collapse")) && a.transitioning)) {
                        var o = e.Event("show.bs.collapse");
                        if (this.$element.trigger(o), !o.isDefaultPrevented()) {
                            i && i.length && (s.call(i, "hide"), a || i.data("bs.collapse", null));
                            var r = this.dimension();
                            this.$element.removeClass("collapse").addClass("collapsing")[r](0).attr("aria-expanded", !0),
                            this.$trigger.removeClass("collapsed").attr("aria-expanded", !0),
                            this.transitioning = 1;
                            var n = function() {
                                this.$element.removeClass("collapsing").addClass("collapse in")[r](""),
                                this.transitioning = 0,
                                this.$element.trigger("shown.bs.collapse")
                            };
                            if (!e.support.transition) return n.call(this);
                            var l = e.camelCase(["scroll", r].join("-"));
                            this.$element.one("bsTransitionEnd", e.proxy(n, this)).emulateTransitionEnd(t.TRANSITION_DURATION)[r](this.$element[0][l])
                        }
                    }
                }
            },
            t.prototype.hide = function() {
                if (!this.transitioning && this.$element.hasClass("in")) {
                    var a = e.Event("hide.bs.collapse");
                    if (this.$element.trigger(a), !a.isDefaultPrevented()) {
                        var i = this.dimension();
                        this.$element[i](this.$element[i]())[0].offsetHeight,
                        this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded", !1),
                        this.$trigger.addClass("collapsed").attr("aria-expanded", !1),
                        this.transitioning = 1;
                        var s = function() {
                            this.transitioning = 0,
                            this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")
                        };
                        if (!e.support.transition) return s.call(this);
                        this.$element[i](0).one("bsTransitionEnd", e.proxy(s, this)).emulateTransitionEnd(t.TRANSITION_DURATION)
                    }
                }
            },
            t.prototype.toggle = function() {
                this[this.$element.hasClass("in") ? "hide": "show"]()
            },
            t.prototype.getParent = function() {
                return e(this.options.parent).find('[data-toggle="collapse"][data-parent="' + this.options.parent + '"]').each(e.proxy((function(t, i) {
                    var s = e(i);
                    this.addAriaAndCollapsedClass(a(s), s)
                }), this)).end()
            },
            t.prototype.addAriaAndCollapsedClass = function(e, t) {
                var a = e.hasClass("in");
                e.attr("aria-expanded", a),
                t.toggleClass("collapsed", !a).attr("aria-expanded", a)
            };
            var o = e.fn.collapse;
            e.fn.collapse = s,
            e.fn.collapse.Constructor = t,
            e.fn.collapse.noConflict = function() {
                return e.fn.collapse = o,
                this
            },
            e(document).on("click.bs.collapse.data-api", '[data-toggle="collapse"]', (function(t) {
                var i = e(this);
                i.attr("data-target") || t.preventDefault();
                var o = a(i),
                r = o.data("bs.collapse") ? "toggle": i.data();
                s.call(o, r)
            }))
        } (jQuery)
    },
    {}],
    4 : [function(e, t, a) {
        "use strict";
        function i(e) {
            return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ?
            function(e) {
                return typeof e
            }: function(e) {
                return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol": typeof e
            })(e)
        } !
        function(e) {
            var t = function(t, a) {
                this.options = a,
                this.$body = e(document.body),
                this.$element = e(t),
                this.$dialog = this.$element.find(".modal-dialog"),
                this.$backdrop = null,
                this.isShown = null,
                this.originalBodyPad = null,
                this.scrollbarWidth = 0,
                this.ignoreBackdropClick = !1,
                this.options.remote && this.$element.find(".modal-content").load(this.options.remote, e.proxy((function() {
                    this.$element.trigger("loaded.bs.modal")
                }), this))
            };
            function a(a, s) {
                return this.each((function() {
                    var o = e(this),
                    r = o.data("bs.modal"),
                    n = e.extend({},
                    t.DEFAULTS, o.data(), "object" == i(a) && a);
                    r || o.data("bs.modal", r = new t(this, n)),
                    "string" == typeof a ? r[a](s) : n.show && r.show(s)
                }))
            }
            t.VERSION = "3.3.7",
            t.TRANSITION_DURATION = 300,
            t.BACKDROP_TRANSITION_DURATION = 150,
            t.DEFAULTS = {
                backdrop: !0,
                keyboard: !0,
                show: !0
            },
            t.prototype.toggle = function(e) {
                return this.isShown ? this.hide() : this.show(e)
            },
            t.prototype.show = function(a) {
                var i = this,
                s = e.Event("show.bs.modal", {
                    relatedTarget: a
                });
                this.$element.trigger(s),
                this.isShown || s.isDefaultPrevented() || (this.isShown = !0, this.checkScrollbar(), this.setScrollbar(), this.$body.addClass("modal-open"), this.escape(), this.resize(), this.$element.on("click.dismiss.bs.modal", '[data-dismiss="modal"]', e.proxy(this.hide, this)), this.$dialog.on("mousedown.dismiss.bs.modal", (function() {
                    i.$element.one("mouseup.dismiss.bs.modal", (function(t) {
                        e(t.target).is(i.$element) && (i.ignoreBackdropClick = !0)
                    }))
                })), this.backdrop((function() {
                    var s = e.support.transition && i.$element.hasClass("fade");
                    i.$element.parent().length || i.$element.appendTo(i.$body),
                    i.$element.show().scrollTop(0),
                    i.adjustDialog(),
                    s && i.$element[0].offsetWidth,
                    i.$element.addClass("in"),
                    i.enforceFocus();
                    var o = e.Event("shown.bs.modal", {
                        relatedTarget: a
                    });
                    s ? i.$dialog.one("bsTransitionEnd", (function() {
                        i.$element.trigger("focus").trigger(o)
                    })).emulateTransitionEnd(t.TRANSITION_DURATION) : i.$element.trigger("focus").trigger(o)
                })))
            },
            t.prototype.hide = function(a) {
                a && a.preventDefault(),
                a = e.Event("hide.bs.modal"),
                this.$element.trigger(a),
                this.isShown && !a.isDefaultPrevented() && (this.isShown = !1, this.escape(), this.resize(), e(document).off("focusin.bs.modal"), this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"), this.$dialog.off("mousedown.dismiss.bs.modal"), e.support.transition && this.$element.hasClass("fade") ? this.$element.one("bsTransitionEnd", e.proxy(this.hideModal, this)).emulateTransitionEnd(t.TRANSITION_DURATION) : this.hideModal())
            },
            t.prototype.enforceFocus = function() {
                e(document).off("focusin.bs.modal").on("focusin.bs.modal", e.proxy((function(e) {
                    document === e.target || this.$element[0] === e.target || this.$element.has(e.target).length || this.$element.trigger("focus")
                }), this))
            },
            t.prototype.escape = function() {
                this.isShown && this.options.keyboard ? this.$element.on("keydown.dismiss.bs.modal", e.proxy((function(e) {
                    27 == e.which && this.hide()
                }), this)) : this.isShown || this.$element.off("keydown.dismiss.bs.modal")
            },
            t.prototype.resize = function() {
                this.isShown ? e(window).on("resize.bs.modal", e.proxy(this.handleUpdate, this)) : e(window).off("resize.bs.modal")
            },
            t.prototype.hideModal = function() {
                var e = this;
                this.$element.hide(),
                this.backdrop((function() {
                    e.$body.removeClass("modal-open"),
                    e.resetAdjustments(),
                    e.resetScrollbar(),
                    e.$element.trigger("hidden.bs.modal")
                }))
            },
            t.prototype.removeBackdrop = function() {
                this.$backdrop && this.$backdrop.remove(),
                this.$backdrop = null
            },
            t.prototype.backdrop = function(a) {
                var i = this,
                s = this.$element.hasClass("fade") ? "fade": "";
                if (this.isShown && this.options.backdrop) {
                    var o = e.support.transition && s;
                    if (this.$backdrop = e(document.createElement("div")).addClass("modal-backdrop " + s).appendTo(this.$body), this.$element.on("click.dismiss.bs.modal", e.proxy((function(e) {
                        this.ignoreBackdropClick ? this.ignoreBackdropClick = !1 : e.target === e.currentTarget && ("static" == this.options.backdrop ? this.$element[0].focus() : this.hide())
                    }), this)), o && this.$backdrop[0].offsetWidth, this.$backdrop.addClass("in"), !a) return;
                    o ? this.$backdrop.one("bsTransitionEnd", a).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION) : a()
                } else if (!this.isShown && this.$backdrop) {
                    this.$backdrop.removeClass("in");
                    var r = function() {
                        i.removeBackdrop(),
                        a && a()
                    };
                    e.support.transition && this.$element.hasClass("fade") ? this.$backdrop.one("bsTransitionEnd", r).emulateTransitionEnd(t.BACKDROP_TRANSITION_DURATION) : r()
                } else a && a()
            },
            t.prototype.handleUpdate = function() {
                this.adjustDialog()
            },
            t.prototype.adjustDialog = function() {
                var e = this.$element[0].scrollHeight > document.documentElement.clientHeight;
                this.$element.css({
                    paddingLeft: !this.bodyIsOverflowing && e ? this.scrollbarWidth: "",
                    paddingRight: this.bodyIsOverflowing && !e ? this.scrollbarWidth: ""
                })
            },
            t.prototype.resetAdjustments = function() {
                this.$element.css({
                    paddingLeft: "",
                    paddingRight: ""
                })
            },
            t.prototype.checkScrollbar = function() {
                var e = window.innerWidth;
                if (!e) {
                    var t = document.documentElement.getBoundingClientRect();
                    e = t.right - Math.abs(t.left)
                }
                this.bodyIsOverflowing = document.body.clientWidth < e,
                this.scrollbarWidth = this.measureScrollbar()
            },
            t.prototype.setScrollbar = function() {
                var e = parseInt(this.$body.css("padding-right") || 0, 10);
                this.originalBodyPad = document.body.style.paddingRight || "",
                this.bodyIsOverflowing && this.$body.css("padding-right", e + this.scrollbarWidth)
            },
            t.prototype.resetScrollbar = function() {
                this.$body.css("padding-right", this.originalBodyPad)
            },
            t.prototype.measureScrollbar = function() {
                var e = document.createElement("div");
                e.className = "modal-scrollbar-measure",
                this.$body.append(e);
                var t = e.offsetWidth - e.clientWidth;
                return this.$body[0].removeChild(e),
                t
            };
            var s = e.fn.modal;
            e.fn.modal = a,
            e.fn.modal.Constructor = t,
            e.fn.modal.noConflict = function() {
                return e.fn.modal = s,
                this
            },
            e(document).on("click.bs.modal.data-api", '[data-toggle="modal"]', (function(t) {
                var i = e(this),
                s = i.attr("href"),
                o = e(i.attr("data-target") || s && s.replace(/.*(?=#[^\s]+$)/, "")),
                r = o.data("bs.modal") ? "toggle": e.extend({
                    remote: !/#/.test(s) && s
                },
                o.data(), i.data());
                i.is("a") && t.preventDefault(),
                o.one("show.bs.modal", (function(e) {
                    e.isDefaultPrevented() || o.one("hidden.bs.modal", (function() {
                        i.is(":visible") && i.trigger("focus")
                    }))
                })),
                a.call(o, r, this)
            }))
        } (jQuery)
    },
    {}],
    5 : [function(e, t, a) {
        "use strict"; !
        function(e) {
            var t = function(t) {
                this.element = e(t)
            };
            function a(a) {
                return this.each((function() {
                    var i = e(this),
                    s = i.data("bs.tab");
                    s || i.data("bs.tab", s = new t(this)),
                    "string" == typeof a && s[a]()
                }))
            }
            t.VERSION = "3.3.7",
            t.TRANSITION_DURATION = 150,
            t.prototype.show = function() {
                var t = this.element,
                a = t.closest("ul:not(.dropdown-menu)"),
                i = t.data("target");
                if (i || (i = (i = t.attr("href")) && i.replace(/.*(?=#[^\s]*$)/, "")), !t.parent("li").hasClass("active")) {
                    var s = a.find(".active:last a"),
                    o = e.Event("hide.bs.tab", {
                        relatedTarget: t[0]
                    }),
                    r = e.Event("show.bs.tab", {
                        relatedTarget: s[0]
                    });
                    if (s.trigger(o), t.trigger(r), !r.isDefaultPrevented() && !o.isDefaultPrevented()) {
                        var n = e(i);
                        this.activate(t.closest("li"), a),
                        this.activate(n, n.parent(), (function() {
                            s.trigger({
                                type: "hidden.bs.tab",
                                relatedTarget: t[0]
                            }),
                            t.trigger({
                                type: "shown.bs.tab",
                                relatedTarget: s[0]
                            })
                        }))
                    }
                }
            },
            t.prototype.activate = function(a, i, s) {
                var o = i.find("> .active"),
                r = s && e.support.transition && (o.length && o.hasClass("fade") || !!i.find("> .fade").length);
                function n() {
                    o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded", !1),
                    a.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded", !0),
                    r ? (a[0].offsetWidth, a.addClass("in")) : a.removeClass("fade"),
                    a.parent(".dropdown-menu").length && a.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded", !0),
                    s && s()
                }
                o.length && r ? o.one("bsTransitionEnd", n).emulateTransitionEnd(t.TRANSITION_DURATION) : n(),
                o.removeClass("in")
            };
            var i = e.fn.tab;
            e.fn.tab = a,
            e.fn.tab.Constructor = t,
            e.fn.tab.noConflict = function() {
                return e.fn.tab = i,
                this
            };
            var s = function(t) {
                t.preventDefault(),
                a.call(e(this), "show")
            };
            e(document).on("click.bs.tab.data-api", '[data-toggle="tab"]', s).on("click.bs.tab.data-api", '[data-toggle="pill"]', s)
        } (jQuery)
    },
    {}],
    6 : [function(e, t, a) {
        "use strict";
        function i(e) {
            return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ?
            function(e) {
                return typeof e
            }: function(e) {
                return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol": typeof e
            })(e)
        } !
        function(e) {
            var t = function(e, t) {
                this.type = null,
                this.options = null,
                this.enabled = null,
                this.timeout = null,
                this.hoverState = null,
                this.$element = null,
                this.inState = null,
                this.init("tooltip", e, t)
            };
            t.VERSION = "3.3.7",
            t.TRANSITION_DURATION = 150,
            t.DEFAULTS = {
                animation: !0,
                placement: "top",
                selector: !1,
                template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
                trigger: "hover focus",
                title: "",
                delay: 0,
                html: !1,
                container: !1,
                viewport: {
                    selector: "body",
                    padding: 0
                }
            },
            t.prototype.init = function(t, a, i) {
                if (this.enabled = !0, this.type = t, this.$element = e(a), this.options = this.getOptions(i), this.$viewport = this.options.viewport && e(e.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : this.options.viewport.selector || this.options.viewport), this.inState = {
                    click: !1,
                    hover: !1,
                    focus: !1
                },
                this.$element[0] instanceof document.constructor && !this.options.selector) throw new Error("`selector` option must be specified when initializing " + this.type + " on the window.document object!");
                for (var s = this.options.trigger.split(" "), o = s.length; o--;) {
                    var r = s[o];
                    if ("click" == r) this.$element.on("click." + this.type, this.options.selector, e.proxy(this.toggle, this));
                    else if ("manual" != r) {
                        var n = "hover" == r ? "mouseenter": "focusin",
                        l = "hover" == r ? "mouseleave": "focusout";
                        this.$element.on(n + "." + this.type, this.options.selector, e.proxy(this.enter, this)),
                        this.$element.on(l + "." + this.type, this.options.selector, e.proxy(this.leave, this))
                    }
                }
                this.options.selector ? this._options = e.extend({},
                this.options, {
                    trigger: "manual",
                    selector: ""
                }) : this.fixTitle()
            },
            t.prototype.getDefaults = function() {
                return t.DEFAULTS
            },
            t.prototype.getOptions = function(t) {
                return (t = e.extend({},
                this.getDefaults(), this.$element.data(), t)).delay && "number" == typeof t.delay && (t.delay = {
                    show: t.delay,
                    hide: t.delay
                }),
                t
            },
            t.prototype.getDelegateOptions = function() {
                var t = {},
                a = this.getDefaults();
                return this._options && e.each(this._options, (function(e, i) {
                    a[e] != i && (t[e] = i)
                })),
                t
            },
            t.prototype.enter = function(t) {
                var a = t instanceof this.constructor ? t: e(t.currentTarget).data("bs." + this.type);
                if (a || (a = new this.constructor(t.currentTarget, this.getDelegateOptions()), e(t.currentTarget).data("bs." + this.type, a)), t instanceof e.Event && (a.inState["focusin" == t.type ? "focus": "hover"] = !0), a.tip().hasClass("in") || "in" == a.hoverState) a.hoverState = "in";
                else {
                    if (clearTimeout(a.timeout), a.hoverState = "in", !a.options.delay || !a.options.delay.show) return a.show();
                    a.timeout = setTimeout((function() {
                        "in" == a.hoverState && a.show()
                    }), a.options.delay.show)
                }
            },
            t.prototype.isInStateTrue = function() {
                for (var e in this.inState) if (this.inState[e]) return ! 0;
                return ! 1
            },
            t.prototype.leave = function(t) {
                var a = t instanceof this.constructor ? t: e(t.currentTarget).data("bs." + this.type);
                if (a || (a = new this.constructor(t.currentTarget, this.getDelegateOptions()), e(t.currentTarget).data("bs." + this.type, a)), t instanceof e.Event && (a.inState["focusout" == t.type ? "focus": "hover"] = !1), !a.isInStateTrue()) {
                    if (clearTimeout(a.timeout), a.hoverState = "out", !a.options.delay || !a.options.delay.hide) return a.hide();
                    a.timeout = setTimeout((function() {
                        "out" == a.hoverState && a.hide()
                    }), a.options.delay.hide)
                }
            },
            t.prototype.show = function() {
                var a = e.Event("show.bs." + this.type);
                if (this.hasContent() && this.enabled) {
                    this.$element.trigger(a);
                    var i = e.contains(this.$element[0].ownerDocument.documentElement, this.$element[0]);
                    if (a.isDefaultPrevented() || !i) return;
                    var s = this,
                    o = this.tip(),
                    r = this.getUID(this.type);
                    this.setContent(),
                    o.attr("id", r),
                    this.$element.attr("aria-describedby", r),
                    this.options.animation && o.addClass("fade");
                    var n = "function" == typeof this.options.placement ? this.options.placement.call(this, o[0], this.$element[0]) : this.options.placement,
                    l = /\s?auto?\s?/i,
                    d = l.test(n);
                    d && (n = n.replace(l, "") || "top"),
                    o.detach().css({
                        top: 0,
                        left: 0,
                        display: "block"
                    }).addClass(n).data("bs." + this.type, this),
                    this.options.container ? o.appendTo(this.options.container) : o.insertAfter(this.$element),
                    this.$element.trigger("inserted.bs." + this.type);
                    var c = this.getPosition(),
                    p = o[0].offsetWidth,
                    u = o[0].offsetHeight;
                    if (d) {
                        var h = n,
                        m = this.getPosition(this.$viewport);
                        n = "bottom" == n && c.bottom + u > m.bottom ? "top": "top" == n && c.top - u < m.top ? "bottom": "right" == n && c.right + p > m.width ? "left": "left" == n && c.left - p < m.left ? "right": n,
                        o.removeClass(h).addClass(n)
                    }
                    var f = this.getCalculatedOffset(n, c, p, u);
                    this.applyPlacement(f, n);
                    var g = function() {
                        var e = s.hoverState;
                        s.$element.trigger("shown.bs." + s.type),
                        s.hoverState = null,
                        "out" == e && s.leave(s)
                    };
                    e.support.transition && this.$tip.hasClass("fade") ? o.one("bsTransitionEnd", g).emulateTransitionEnd(t.TRANSITION_DURATION) : g()
                }
            },
            t.prototype.applyPlacement = function(t, a) {
                var i = this.tip(),
                s = i[0].offsetWidth,
                o = i[0].offsetHeight,
                r = parseInt(i.css("margin-top"), 10),
                n = parseInt(i.css("margin-left"), 10);
                isNaN(r) && (r = 0),
                isNaN(n) && (n = 0),
                t.top += r,
                t.left += n,
                e.offset.setOffset(i[0], e.extend({
                    using: function(e) {
                        i.css({
                            top: Math.round(e.top),
                            left: Math.round(e.left)
                        })
                    }
                },
                t), 0),
                i.addClass("in");
                var l = i[0].offsetWidth,
                d = i[0].offsetHeight;
                "top" == a && d != o && (t.top = t.top + o - d);
                var c = this.getViewportAdjustedDelta(a, t, l, d);
                c.left ? t.left += c.left: t.top += c.top;
                var p = /top|bottom/.test(a),
                u = p ? 2 * c.left - s + l: 2 * c.top - o + d,
                h = p ? "offsetWidth": "offsetHeight";
                i.offset(t),
                this.replaceArrow(u, i[0][h], p)
            },
            t.prototype.replaceArrow = function(e, t, a) {
                this.arrow().css(a ? "left": "top", 50 * (1 - e / t) + "%").css(a ? "top": "left", "")
            },
            t.prototype.setContent = function() {
                var e = this.tip(),
                t = this.getTitle();
                e.find(".tooltip-inner")[this.options.html ? "html": "text"](t),
                e.removeClass("fade in top bottom left right")
            },
            t.prototype.hide = function(a) {
                var i = this,
                s = e(this.$tip),
                o = e.Event("hide.bs." + this.type);
                function r() {
                    "in" != i.hoverState && s.detach(),
                    i.$element && i.$element.removeAttr("aria-describedby").trigger("hidden.bs." + i.type),
                    a && a()
                }
                if (this.$element.trigger(o), !o.isDefaultPrevented()) return s.removeClass("in"),
                e.support.transition && s.hasClass("fade") ? s.one("bsTransitionEnd", r).emulateTransitionEnd(t.TRANSITION_DURATION) : r(),
                this.hoverState = null,
                this
            },
            t.prototype.fixTitle = function() {
                var e = this.$element; (e.attr("title") || "string" != typeof e.attr("data-original-title")) && e.attr("data-original-title", e.attr("title") || "").attr("title", "")
            },
            t.prototype.hasContent = function() {
                return this.getTitle()
            },
            t.prototype.getPosition = function(t) {
                var a = (t = t || this.$element)[0],
                i = "BODY" == a.tagName,
                s = a.getBoundingClientRect();
                null == s.width && (s = e.extend({},
                s, {
                    width: s.right - s.left,
                    height: s.bottom - s.top
                }));
                var o = window.SVGElement && a instanceof window.SVGElement,
                r = i ? {
                    top: 0,
                    left: 0
                }: o ? null: t.offset(),
                n = {
                    scroll: i ? document.documentElement.scrollTop || document.body.scrollTop: t.scrollTop()
                },
                l = i ? {
                    width: e(window).width(),
                    height: e(window).height()
                }: null;
                return e.extend({},
                s, n, l, r)
            },
            t.prototype.getCalculatedOffset = function(e, t, a, i) {
                return "bottom" == e ? {
                    top: t.top + t.height,
                    left: t.left + t.width / 2 - a / 2
                }: "top" == e ? {
                    top: t.top - i,
                    left: t.left + t.width / 2 - a / 2
                }: "left" == e ? {
                    top: t.top + t.height / 2 - i / 2,
                    left: t.left - a
                }: {
                    top: t.top + t.height / 2 - i / 2,
                    left: t.left + t.width
                }
            },
            t.prototype.getViewportAdjustedDelta = function(e, t, a, i) {
                var s = {
                    top: 0,
                    left: 0
                };
                if (!this.$viewport) return s;
                var o = this.options.viewport && this.options.viewport.padding || 0,
                r = this.getPosition(this.$viewport);
                if (/right|left/.test(e)) {
                    var n = t.top - o - r.scroll,
                    l = t.top + o - r.scroll + i;
                    n < r.top ? s.top = r.top - n: l > r.top + r.height && (s.top = r.top + r.height - l)
                } else {
                    var d = t.left - o,
                    c = t.left + o + a;
                    d < r.left ? s.left = r.left - d: c > r.right && (s.left = r.left + r.width - c)
                }
                return s
            },
            t.prototype.getTitle = function() {
                var e = this.$element,
                t = this.options;
                return e.attr("data-original-title") || ("function" == typeof t.title ? t.title.call(e[0]) : t.title)
            },
            t.prototype.getUID = function(e) {
                do {
                    e += ~~ (1e6 * Math.random())
                } while ( document . getElementById ( e ));
                return e
            },
            t.prototype.tip = function() {
                if (!this.$tip && (this.$tip = e(this.options.template), 1 != this.$tip.length)) throw new Error(this.type + " `template` option must consist of exactly 1 top-level element!");
                return this.$tip
            },
            t.prototype.arrow = function() {
                return this.$arrow = this.$arrow || this.tip().find(".tooltip-arrow")
            },
            t.prototype.enable = function() {
                this.enabled = !0
            },
            t.prototype.disable = function() {
                this.enabled = !1
            },
            t.prototype.toggleEnabled = function() {
                this.enabled = !this.enabled
            },
            t.prototype.toggle = function(t) {
                var a = this;
                t && ((a = e(t.currentTarget).data("bs." + this.type)) || (a = new this.constructor(t.currentTarget, this.getDelegateOptions()), e(t.currentTarget).data("bs." + this.type, a))),
                t ? (a.inState.click = !a.inState.click, a.isInStateTrue() ? a.enter(a) : a.leave(a)) : a.tip().hasClass("in") ? a.leave(a) : a.enter(a)
            },
            t.prototype.destroy = function() {
                var e = this;
                clearTimeout(this.timeout),
                this.hide((function() {
                    e.$element.off("." + e.type).removeData("bs." + e.type),
                    e.$tip && e.$tip.detach(),
                    e.$tip = null,
                    e.$arrow = null,
                    e.$viewport = null,
                    e.$element = null
                }))
            };
            var a = e.fn.tooltip;
            e.fn.tooltip = function(a) {
                return this.each((function() {
                    var s = e(this),
                    o = s.data("bs.tooltip"),
                    r = "object" == i(a) && a; ! o && /destroy|hide/.test(a) || (o || s.data("bs.tooltip", o = new t(this, r)), "string" == typeof a && o[a]())
                }))
            },
            e.fn.tooltip.Constructor = t,
            e.fn.tooltip.noConflict = function() {
                return e.fn.tooltip = a,
                this
            }
        } (jQuery)
    },
    {}],
    7 : [function(e, t, a) {
        "use strict";
        e("./jquery.lazyload"),
        e("./jquery-smartphoto");
        var s = e("./social-share"); !
        function(e) {
            var t = e(window),
            a = navigator.userAgent.toLowerCase(),
            o = 1,
            r = [],
            n = void 0 !== _wpcom_js.webp && _wpcom_js.webp ? _wpcom_js.webp: null; (e(".wpcom-user-list").length || e(".wpcom-member").length) && (o = 0),
            e('[data-toggle="tooltip"]').tooltip(),
            "undefined" != typeof AOS && AOS.init(),
            o && void 0 !== _wpcom_js.lightbox && 1 == _wpcom_js.lightbox && e(".entry-content img").each((function(t, i) {
                var s = e(i),
                o = s.parent(),
                n = s.data("original");
                if ((n = n || s.attr("src")) && n.match(/^\/\//) && (n = window.location.protocol + n), "a" === o.prop("tagName").toLowerCase()) {
                    var l = o.attr("href"); (l == n || l && l.match(/.*(\.png|\.jpg|\.jpeg|\.gif|\.webp|\.bmp)$/i)) && (o.addClass("j-wpcom-lightbox"), "micromessenger" != a.match(/MicroMessenger/i) && "baiduboxapp" != a.match(/baiduboxapp/i) || r.push(n))
                } else s.replaceWith('<a class="j-wpcom-lightbox" href="' + n + '">' + i.outerHTML + "</a>"),
                "micromessenger" != a.match(/MicroMessenger/i) && "baiduboxapp" != a.match(/baiduboxapp/i) || r.push(n)
            })),
            e.fn.extend({
                loading: function(t) {
                    var a = e(this);
                    t ? a.addClass("loading").prepend('<i class="wpcom-icon wi wi-loader"><svg aria-hidden="true"><use xlink:href="#wi-loader"></use></svg></i>') : a.removeClass("loading").find(".wi-loader").remove()
                }
            });
            var l = e("#wpcom-video, .j-wpcom-video, .wp-block-video video, .modules-video-player");
            function d() {
                e(".wpcom-adv-menu").each((function(t, a) {
                    var i = e(a),
                    s = e(".wpcom-adv-menu"),
                    o = e("body").width(),
                    r = s.closest(".container").width();
                    i.find(">.menu-item-style").each((function(t, a) {
                        var i = e(a),
                        n = i.find(">.menu-item-wrap"),
                        l = i.position().left,
                        d = n.outerWidth(),
                        c = s.offset().left - (o - r) / 2,
                        p = "";
                        l + d > r - c && (p = -(i.offset().left + d - r - (o - r) / 2)),
                        n.css("left", p)
                    }))
                }))
            }
            l.length && e.ajax({
                url: "//s2.pstatp.com/cdn/expire-1-M/plyr/3.5.4/plyr.min.js",
                dataType: "script",
                cache: !0,
                success: function() {
                    e("#wpcom-video").length && new Plyr("#wpcom-video", {
                        update: !0,
                        controls: ["play-large", "play", "progress", "current-time", "mute", "volume", "pip", "fullscreen"],
                        ratio: "860:" + (void 0 !== _wpcom_js.video_height ? _wpcom_js.video_height: "483"),
                        fullscreen: {
                            enabled: !0,
                            fallback: !0,
                            iosNative: !0
                        }
                    }),
                    e(".j-wpcom-video,.wp-block-video video").length && Plyr.setup(".j-wpcom-video,.wp-block-video video", {
                        update: !0,
                        controls: ["play-large", "play", "progress", "current-time", "mute", "volume", "pip", "fullscreen"],
                        ratio: "16:9",
                        fullscreen: {
                            enabled: !0,
                            fallback: !0,
                            iosNative: !0
                        }
                    });
                    var t = e(".modules-video-player");
                    if (t.length) for (var a = 0; a < t.length; a++) !
                    function(a) {
                        var i = e(t[a]),
                        s = new Plyr(t[a], {
                            update: !0,
                            controls: ["play-large", "play", "progress", "current-time", "mute", "volume", "pip", "fullscreen"],
                            ratio: i.width() + ":" + i.height(),
                            fullscreen: {
                                enabled: !0,
                                fallback: !0,
                                iosNative: !0
                            }
                        });
                        s.toggleControls(!1),
                        i.closest(".video-inline-player").hover((function() {}), (function() {
                            setTimeout((function() {
                                s.toggleControls(!1)
                            }), 100)
                        }))
                    } (a);
                    var i = [];
                    l.each((function(t, a) {
                        var s = e(a).attr("src"); (s = s || e(a).find("source").attr("src")).search(/(\.m3u8|m3u8\?)/i) > -1 && i.push(a)
                    })),
                    i.length && e.ajax({
                        url: "//s0.pstatp.com/cdn/expire-1-M/hls.js/0.12.4/hls.min.js",
                        dataType: "script",
                        cache: !0,
                        success: function() {
                            for (var t in i) if (Hls.isSupported()) {
                                var s = new Hls,
                                o = e(i[t]).attr("src");
                                o = o || e(i[t]).find("source").attr("src"),
                                s.loadSource(o),
                                s.attachMedia(i[t])
                            } else i[t].src = source[a]
                        }
                    })
                }
            }),
            e(document).ready((function() {
                if ("baiduboxapp" == a.match(/baiduboxapp/i)) e(document).on("click", "a.j-wpcom-lightbox", (function(t) {
                    t.preventDefault();
                    var a = "baiduboxapp://v19/utils/previewImage?params=" + encodeURIComponent(JSON.stringify({
                        urls: r,
                        current: e(this).attr("href")
                    })),
                    i = document.createElement("iframe");
                    i.style.display = "none",
                    i.src = a;
                    var s = document.body;
                    s.appendChild(i),
                    setTimeout((function() {
                        s.removeChild(i),
                        i = null
                    }), 0)
                }));
                else {
                    var o = e(".entry-content .j-wpcom-lightbox");
                    o.length && (o.find("noscript").remove(), o.SmartPhoto({
                        nav: !1
                    }))
                }
                e(".j-lazy").lazyload({
                    webp: n,
                    threshold: 250,
                    effect: "fadeIn"
                }),
                /(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent) && e("body").addClass("is-mobile"),
                e(document).on("click", 'a[href^="#"]', (function(t) {
                    var a = e(this).attr("role");
                    if ("tab" != a && "button" != a && (t.preventDefault(), this.hash)) {
                        var i = e(this.hash).length ? e(this.hash).offset().top: 0;
                        i = i - e("header.header").outerHeight() - 10,
                        i = (i = e("#wpadminbar").length ? i - e("#wpadminbar").outerHeight() : i) < 0 ? 0 : i,
                        e("html, body").animate({
                            scrollTop: i
                        },
                        400)
                    }
                })).on("click", ".j-footer-bar-icon", (function(t) {
                    t.preventDefault();
                    var a = e(this),
                    i = '<div class="modal" id="footer-bar">\n            <div class="modal-dialog modal-sm">\n                <div class="modal-content">\n                    <div class="modal-header">\n                        <div class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i></span></div><h4 class="modal-title">\u4e8c\u7ef4\u7801</h4>\n                    </div>\n                    <div class="modal-body">\n                        <img src="' + a.attr("href") + '">\n                    </div>\n                </div>\n            </div>\n        </div>';
                    return 0 === e("#footer-bar").length ? e("body").append(i) : e("#footer-bar").find(".modal-body img").attr("src", a.attr("href")),
                    e("#footer-bar").modal(),
                    !1
                })),
                e('.wp-block-wpcom-tabs a[data-toggle="tab"]').on("shown.bs.tab", (function(t) {
                    e(window).trigger("scroll")
                }));
                var l = e(".wp-block-wpcom-accordion");
                l.on("shown.bs.collapse", (function() {
                    e(window).trigger("scroll")
                })).find(".panel-heading .panel-title a").append('<i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-arrow-down"></use></svg></i>'),
                l.find(".panel-collapse.in").closest(".panel").find(".panel-title a").attr("aria-expanded", "true"),
                window.location.base = "OTE4NA==",
                e(".modal.modal-video").on("shown.bs.modal", (function(t) {
                    var a = e(this).closest(".video-wrap");
                    e(".modal-body", this).html(a.find(".video-code").html());
                    var s = e(this).find(".j-wpcom-video");
                    s.length && e.ajax({
                        url: "//s2.pstatp.com/cdn/expire-1-M/plyr/3.5.4/plyr.min.js",
                        dataType: "script",
                        cache: !0,
                        success: function() {
                            var t = s.attr("width") ? s.attr("width") : s.width(),
                            a = s.attr("height") ? s.attr("height") : s.height();
                            Plyr.setup(".j-wpcom-video", {
                                update: !0,
                                controls: ["play-large", "play", "progress", "current-time", "mute", "volume", "pip", "fullscreen"],
                                ratio: t + ":" + a,
                                fullscreen: {
                                    enabled: !0,
                                    fallback: !0,
                                    iosNative: !0
                                }
                            });
                            var o = [];
                            s.each((function(t, a) {
                                var i = e(a).attr("src"); (i = i || e(a).find("source").attr("src")).search(/(\.m3u8|m3u8\?)/i) > -1 && o.push(a)
                            })),
                            o.length && e.ajax({
                                url: "//s0.pstatp.com/cdn/expire-1-M/hls.js/0.12.4/hls.min.js",
                                dataType: "script",
                                cache: !0,
                                success: function() {
                                    for (var t in o) if (Hls.isSupported()) {
                                        var a = new Hls,
                                        s = e(o[t]).attr("src");
                                        s = s || e(o[t]).find("source").attr("src"),
                                        a.loadSource(s),
                                        a.attachMedia(o[t])
                                    } else o[t].src = source[i]
                                }
                            })
                        }
                    })
                })).on("hidden.bs.modal", (function(t) {
                    e(".modal-body", this).html("")
                }));
                var c = 0,
                p = setInterval((function() {
                    c++,
                    void 0 !== window.wpcom_maps && window.wpcom_maps.length ? (clearInterval(p),
                    function() {
                        var t = "\u6682\u672a\u8bbe\u7f6e\u5730\u56fe\u63a5\u53e3\uff0c\u5982\u679c\u60a8\u662f\u7f51\u7ad9\u7ba1\u7406\u5458\uff0c\u8bf7\u524d\u5f80\u3010\u4e3b\u9898\u8bbe\u7f6e>\u5e38\u89c4\u8bbe\u7f6e>\u5730\u56fe\u63a5\u53e3\u3011\u8fdb\u884c\u8bbe\u7f6e",
                        a = [],
                        i = [];
                        for (var s in window.wpcom_maps) 1 == window.wpcom_maps[s].type ? i.push(window.wpcom_maps[s]) : a.push(window.wpcom_maps[s]);
                        if (a.length && !a[0].key) wpcom_alert(t);
                        else if (a.length) {
                            window.HOST_TYPE = "2",
                            window.BMap_loadScriptTime = (new Date).getTime();
                            var o = "//api.map.baidu.com/getscript?v=2.0&ak=" + a[0].key + "&services=&t=20200103103842";
                            e.ajax({
                                url: o,
                                dataType: "script",
                                cache: !0,
                                success: function() {
                                    for (var e = [], t = [], i = [], s = 0; s < a.length; s++) !
                                    function(s) {
                                        var o = a[s];
                                        e[s] = new BMap.Map(o.id, {
                                            enableMapClick: !1
                                        });
                                        var r = new BMap.Point(o.pos[0], o.pos[1]);
                                        t[s] = new BMap.Marker(r),
                                        e[s].centerAndZoom(r, 16),
                                        e[s].addOverlay(t[s]),
                                        o.scrollWheelZoom && e[s].enableScrollWheelZoom(),
                                        e[s].setMapStyle({
                                            styleJson: [{
                                                featureType: "all",
                                                elementType: "all",
                                                stylers: {
                                                    lightness: 25,
                                                    saturation: -25
                                                }
                                            }]
                                        }),
                                        o.html && (i[s] = new BMap.InfoWindow(o.html), t[s].openInfoWindow(i[s]), t[s].addEventListener("click", (function() {
                                            this.openInfoWindow(i[s])
                                        })))
                                    } (s)
                                }
                            })
                        }
                        if (i.length && !i[0].key) wpcom_alert(t);
                        else if (i.length) {
                            var r = "//maps.googleapis.com/maps/api/js?key=" + i[0].key;
                            e.ajax({
                                url: r,
                                dataType: "script",
                                cache: !0,
                                success: function() {
                                    for (var e = [], t = [], a = [], s = 0; s < i.length; s++) !
                                    function(s) {
                                        var o = i[s],
                                        r = {
                                            zoom: 15,
                                            center: {
                                                lat: o.pos[0],
                                                lng: o.pos[1]
                                            },
                                            scrollwheel: !!o.scrollWheelZoom,
                                            styles: [{
                                                elementType: "geometry",
                                                stylers: [{
                                                    lightness: 45
                                                },
                                                {
                                                    saturation: -25
                                                }]
                                            },
                                            {
                                                featureType: "poi",
                                                stylers: [{
                                                    visibility: "off"
                                                }]
                                            },
                                            {
                                                featureType: "transit",
                                                stylers: [{
                                                    visibility: "off"
                                                }]
                                            }],
                                            disableDefaultUI: !0
                                        };
                                        e[s] = new google.maps.Map(document.getElementById(o.id), r);
                                        var n = {
                                            position: r.center,
                                            map: e[s]
                                        };
                                        o.icon && (n.icon = {
                                            url: o.icon,
                                            size: new google.maps.Size(27, 27),
                                            scaledSize: new google.maps.Size(27, 27)
                                        }),
                                        t[s] = new google.maps.Marker(n),
                                        o.html && (a[s] = new google.maps.InfoWindow({
                                            content: o.html,
                                            maxWidth: 500
                                        }), a[s].open(e[s], t[s]), t[s].addListener("click", (function() {
                                            a[s].open(e[s], t[s])
                                        })))
                                    } (s)
                                }
                            })
                        }
                    } ()) : c > 10 && clearInterval(p)
                }), 1e3);
                e(document).on("DOMNodeInserted", ".widget_shopping_cart_content,.woocommerce-cart-form", (function() {
                    e(this).find(".j-lazy").lazyload({
                        webp: n,
                        threshold: 250,
                        effect: "fadeIn"
                    }),
                    e(window).trigger("scroll")
                })).on("DOMNodeInserted", "header.header", (function() {
                    d()
                })).on("DOMSubtreeModified", "header.header .wpcom-adv-menu>li>a>img", (function() {
                    setTimeout((function() {
                        d()
                    }), 300)
                })),
                e("header.header").trigger("DOMNodeInserted"),
                e(".shopping-cart").on("mouseenter", ".cart-contents", (function() {
                    e(window).trigger("scroll")
                })),
                e("body").on("click", ".navbar-toggle", (function() {
                    var t = e("body");
                    t.hasClass("navbar-on") ? t.removeClass("navbar-on navbar-ing") : (t.addClass("navbar-on navbar-ing"), setTimeout((function() {
                        t.removeClass("navbar-ing")
                    }), 500)),
                    0 == e(".navbar-on-shadow").length && e("#wrap").append('<div class="navbar-on-shadow"></div>'),
                    setTimeout((function() {
                        e(window).trigger("scroll")
                    }), 500)
                })).on("click", ".m-dropdown", (function() {
                    var t = e(this).parent();
                    t.find("> .dropdown-menu").slideToggle("fast"),
                    t.toggleClass("dropdown-open"),
                    e(window).trigger("scroll")
                })),
                e("#wrap").on("click", ".navbar-on-shadow", (function() {
                    e("body").hasClass("navbar-ing") || e(".navbar-toggle").trigger("click")
                })),
                e(".woocommerce").off("click.quantity").on("click.quantity", ".qty-down,.qty-up", (function() {
                    var t = e(this).hasClass("qty-down") ? 0 : 1,
                    a = e(this).parent().find(".qty"),
                    i = a.val();
                    i = t ? ++i: --i,
                    i = a.attr("min") && i < a.attr("min") ? a.attr("min") : i,
                    i = a.attr("max") && i > a.attr("max") ? a.attr("max") : i,
                    a.val(i).trigger("change")
                })).off("blur.quantity").on("blur.quantity", ".qty", (function() {
                    var t = e(this),
                    a = t.val();
                    a = t.attr("min") && a < t.attr("min") ? t.attr("min") : a,
                    a = t.attr("max") && a > t.attr("max") ? t.attr("max") : a,
                    t.val(a)
                }));
                var u = e(".j-top"),
                h = e(".action");
                u.length && (t.scroll((function() {
                    t.scrollTop() > 100 ? (u.addClass("active"), h.removeClass("hide-gotop")) : (u.removeClass("active"), h.addClass("hide-gotop"))
                })), h.on("click", ".j-top", (function() {
                    e("html, body").animate({
                        scrollTop: 0
                    },
                    "slow")
                }))),
                h.length && setTimeout((function() {
                    h.find(".action-item").each((function(t, a) {
                        var i = e(a).find(".action-item-inner");
                        i.length && i.css("margin-top", -i.outerHeight() / 2)
                    }))
                }), 200),
                h.on("mouseenter", ".action-item", (function() {
                    var t = e(this).find(".action-item-inner");
                    t.length && t.css("margin-top", -t.outerHeight() / 2)
                })),
                setTimeout((function() {
                    s.init()
                }), 50)
            })),
            window.setup_share = function(t) {
                t ? e(".action .action-item.j-share").append('<div class="action-item-inner share-more-wrap clearfix">\n                <h4 class="share-more-title">\u5206\u4eab\u5230\uff1a</h4>\n                <a class="action-share-item" data-share="weibo" target="_blank"><i class="wpcom-icon wi wi-weibo"><svg aria-hidden="true"><use xlink:href="#wi-weibo"></use></svg></i> \u65b0\u6d6a\u5fae\u535a</a>\n                <a class="action-share-item" data-share="wechat"><i class="wpcom-icon wi wi-wechat"><svg aria-hidden="true"><use xlink:href="#wi-wechat"></use></svg></i> \u5fae\u4fe1</a>\n                <a class="action-share-item" data-share="qq" target="_blank"><i class="wpcom-icon wi wi-qq"><svg aria-hidden="true"><use xlink:href="#wi-qq"></use></svg></i> QQ\u597d\u53cb</a>\n                <a class="action-share-item" data-share="qzone" target="_blank"><i class="wpcom-icon wi wi-qzone"><svg aria-hidden="true"><use xlink:href="#wi-qzone"></use></svg></i> QQ\u7a7a\u95f4</a>\n                <a class="action-share-item" data-share="douban" target="_blank"><i class="wpcom-icon wi wi-douban"><svg aria-hidden="true"><use xlink:href="#wi-douban"></use></svg></i> \u8c46\u74e3</a>\n                <a class="action-share-item" data-share="linkedin" target="_blank"><i class="wpcom-icon wi wi-linkedin"><svg aria-hidden="true"><use xlink:href="#wi-linkedin"></use></svg></i> LinkedIn</a>\n                <a class="action-share-item" data-share="facebook" target="_blank"><i class="wpcom-icon wi wi-facebook"><svg aria-hidden="true"><use xlink:href="#wi-facebook"></use></svg></i> Facebook</a>\n                <a class="action-share-item" data-share="twitter" target="_blank"><i class="wpcom-icon wi wi-twitter"><svg aria-hidden="true"><use xlink:href="#wi-twitter"></use></svg></i> Twitter</a>\n            </div>') : e(document).on("click", ".action-item.j-share", (function(t) {
                    t.preventDefault(),
                    e(".at-svc-compact .at-icon-wrapper").trigger("click")
                }))
            },
            function() {
                if ("micromessenger" == a.match(/MicroMessenger/i)) {
                    var t, i = location.href.split("#")[0],
                    s = document.querySelector("body").classList,
                    o = 0;
                    if (s.contains("page")) for (var l = 0; l < s.length; l++)(t = s[l].match(/page-id-(\d+)$/)) && (o = t[1]);
                    else if (s.contains("single")) for (l = 0; l < s.length; l++)(t = s[l].match(/postid-(\d+)$/)) && (o = t[1]);
                    e.ajax({
                        url: _wpcom_js.ajaxurl,
                        type: "POST",
                        data: {
                            action: "wpcom_wx_config",
                            url: encodeURIComponent(i),
                            ID: o
                        },
                        dataType: "json",
                        success: function(t) {
                            if (t.signature) {
                                var a = t.thumb;
                                a.match(/^\/\//) && (a = window.location.protocol + a);
                                var s = document.title,
                                o = e("meta[name=description]").attr("content");
                                o = o || t.desc;
                                var l = document.createElement("script");
                                l.src = "//res.wx.qq.com/open/js/jweixin-1.2.0.js",
                                l.onload = function() {
                                    window.wx.config({
                                        debug: !1,
                                        appId: t.appId,
                                        timestamp: t.timestamp,
                                        nonceStr: t.noncestr,
                                        signature: t.signature,
                                        jsApiList: ["onMenuShareTimeline", "onMenuShareAppMessage", "onMenuShareQQ", "onMenuShareWeibo", "previewImage"]
                                    }),
                                    wx.ready((function() {
                                        var t = {
                                            imgUrl: a,
                                            link: i,
                                            desc: o,
                                            title: s
                                        },
                                        l = {
                                            imgUrl: a,
                                            link: i,
                                            title: s
                                        };
                                        wx.onMenuShareAppMessage(t),
                                        wx.onMenuShareTimeline(l),
                                        wx.onMenuShareQQ(t),
                                        wx.onMenuShareWeibo(t),
                                        e(".entry-content").find("a.j-wpcom-lightbox").each((function(t, a) {
                                            e(a).off("click.lightbox")
                                        })),
                                        e(".entry-content a.j-wpcom-lightbox .j-lazy").lazyload({
                                            webp: n,
                                            threshold: 250,
                                            effect: "fadeIn"
                                        }),
                                        e(document).on("click", "a.j-wpcom-lightbox", (function(t) {
                                            t.preventDefault(),
                                            wx.previewImage({
                                                current: e(this).attr("href"),
                                                urls: r
                                            })
                                        }))
                                    })),
                                    wx.error((function(e) {
                                        console.log(e)
                                    }))
                                },
                                document.body.appendChild(l)
                            }
                        }
                    })
                }
            } (),
            window.wpcom_map = function(e, t, a, i, s, o, r) {
                void 0 === window.wpcom_maps && (window.wpcom_maps = []),
                window.wpcom_maps.push({
                    id: e,
                    html: t,
                    pos: a,
                    scrollWheelZoom: i,
                    key: s,
                    type: o,
                    icon: r
                })
            },
            window.wpcom_alert = function(t, a) {
                a = a || "\u63d0\u793a\u4fe1\u606f";
                var i = e("#wpcom-alert");
                if (i.length) i.find(".modal-title").html(a),
                i.find(".modal-body").html(t),
                i.modal("show");
                else {
                    var s = '<div class="modal fade modal-alert" id="wpcom-alert" data-backdrop="static">\n            <div class="modal-dialog modal-sm">\n                <div class="modal-content">                   <div class="modal-header"><div class="close" data-dismiss="modal" aria-label="Close"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i></div><h4 class="modal-title">' + a + '</h4></div>\n                   <div class="modal-body">' + t + '</div>\n                   <div class="modal-footer"><button type="button" class="btn btn-primary" data-dismiss="modal" aria-label="Close">\u786e\u5b9a</button></div>                </div>\n            </div>\n        </div>';
                    e("body").append(s)
                }
                e("#wpcom-alert").modal("show")
            }
        } (jQuery)
    },
    {
        "./jquery-smartphoto": 9,
        "./jquery.lazyload": 10,
        "./social-share": 15
    }],
    8 : [function(e, t, a) {
        "use strict";
        function i(e) {
            return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ?
            function(e) {
                return typeof e
            }: function(e) {
                return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol": typeof e
            })(e)
        }
        Object.defineProperty(a, "__esModule", {
            value: !0
        }),
        a.
    default = void 0;
        var s = {
            init: function() {
                var e = this;
                jQuery(document).on("click", ".j-follow", (function(t) {
                    e.follow(t)
                })).on("check_follow wpcom_login", (function() {
                    e.check_follow()
                }))
            },
            follow: function(e) {
                if (!1 === window.is_login) return jQuery("#login-modal").modal(),
                !1;
                var t = jQuery(e.target).closest(".j-follow");
                if (t.hasClass("loading")) return ! 1;
                var a = t.hasClass("followed"),
                i = t.data("user");
                if (i) {
                    void 0 !== _wpcom_js.framework_url ? _wpcom_js.framework_url: _wpcom_js.theme_url;
                    t.loading(1),
                    jQuery.ajax({
                        type: "POST",
                        url: _wpcom_js.ajaxurl,
                        data: {
                            action: "wpcom_follow",
                            follow: i
                        },
                        dataType: "json",
                        success: function(e) {
                            0 == e.result ? t.html(_wpcom_js.followed_btn).addClass("followed").removeClass("btn-primary") : 1 == e.result ? t.html(_wpcom_js.follow_btn).removeClass("followed").addClass("btn-primary") : -1 == e.result ? (jQuery(document).trigger("wpcom_not_login"), jQuery("#login-modal").modal(), t.html(a ? _wpcom_js.followed_btn: _wpcom_js.follow_btn)) : (t.html(a ? _wpcom_js.followed_btn: _wpcom_js.follow_btn), e.msg && wpcom_alert(e.msg)),
                            t.loading(0)
                        },
                        error: function() {
                            t.html(a ? _wpcom_js.followed_btn: _wpcom_js.follow_btn).loading(0)
                        }
                    })
                }
            },
            check_follow: function() {
                var e = [];
                jQuery(".j-follow").each((function(t, a) {
                    var i = jQuery(a).data("user");
                    i && jQuery.inArray(i, e) < 0 && e.push(i)
                })),
                e.length && jQuery.ajax({
                    type: "POST",
                    url: _wpcom_js.ajaxurl,
                    data: {
                        action: "wpcom_check_follow",
                        ids: e
                    },
                    dataType: "json",
                    success: function(t) {
                        if (t && "object" === i(t)) for (var a in t) t[a] && jQuery.inArray(a, e) && jQuery(".j-follow[data-user=" + a + "]").addClass("followed").removeClass("btn-primary").html(_wpcom_js.followed_btn)
                    }
                })
            }
        };
        a.
    default = s
    },
    {}],
    9 : [function(e, t, a) {
        "use strict";
        function i(e) {
            return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ?
            function(e) {
                return typeof e
            }: function(e) {
                return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol": typeof e
            })(e)
        }
        /**
 * Modules in this bundle
 * @license
 *
 * smartphoto:
 *   license: MIT (http://opensource.org/licenses/MIT)
 *   author: appleple
 *   homepage: http://developer.a-blogcms.jp
 *   version: 1.3.6
 *
 * a-template:
 *   license: MIT (http://opensource.org/licenses/MIT)
 *   author: steelydylan
 *   version: 0.5.4
 *
 * custom-event-polyfill:
 *   license: MIT (http://opensource.org/licenses/MIT)
 *   contributors: Frank Panetta, Mikhail Reenko <reenko@yandex.ru>, Joscha Feth <joscha@feth.com>
 *   homepage: https://github.com/krambuhl/custom-event-polyfill#readme
 *   version: 0.3.0
 *
 * es6-promise-polyfill:
 *   license: MIT (http://opensource.org/licenses/MIT)
 *   author: Roman Dvornov <rdvornov@gmail.com>
 *   homepage: https://github.com/lahmatiy/es6-promise-polyfill#readme
 *   version: 1.2.0
 *
 * ie-array-find-polyfill:
 *   license: MIT (http://opensource.org/licenses/MIT)
 *   author: Carlos Abdalla
 *   homepage: https://github.com/abdalla/ie-array-find-polyfill#readme
 *   version: 1.1.0
 *
 * morphdom:
 *   license: MIT (http://opensource.org/licenses/MIT)
 *   author: Patrick Steele-Idem <pnidem@gmail.com>
 *   homepage: https://github.com/patrick-steele-idem/morphdom#readme
 *   version: 2.3.3
 *
 * process:
 *   license: MIT (http://opensource.org/licenses/MIT)
 *   author: Roman Shtylman <shtylman@gmail.com>
 *   homepage: https://github.com/shtylman/node-process#readme
 *   version: 0.11.10
 *
 * timers-browserify:
 *   licenses: MIT (http://opensource.org/licenses/MIT)
 *   author: J. Ryan Stinnett <jryans@gmail.com>
 *   contributors: Guy Bedford <guybedford@gmail.com>, Ionut-Cristian Florescu <ionut.florescu@gmail.com>, James Halliday <mail@substack.net>, Jan Schär <jscissr@gmail.com>, Johannes Ewald <johannes.ewald@peerigon.com>, Jonathan Prins <jon@blip.tv>, Matt Esch <matt@mattesch.info>
 *   homepage: https://github.com/jryans/timers-browserify
 *   version: 1.4.2
 *
 * This header is generated by licensify (https://github.com/twada/licensify)
 */
        !
        function t(a, i, s) {
            function o(n, l) {
                if (!i[n]) {
                    if (!a[n]) {
                        var d = "function" == typeof e && e;
                        if (!l && d) return d(n, !0);
                        if (r) return r(n, !0);
                        var c = new Error("Cannot find module '" + n + "'");
                        throw c.code = "MODULE_NOT_FOUND",
                        c
                    }
                    var p = i[n] = {
                        exports: {}
                    };
                    a[n][0].call(p.exports, (function(e) {
                        return o(a[n][1][e] || e)
                    }), p, p.exports, t, a, i, s)
                }
                return i[n].exports
            }
            for (var r = "function" == typeof e && e,
            n = 0; n < s.length; n++) o(s[n]);
            return o
        } ({
            1 : [function(e, t, a) {
                function i(e) {
                    if (Array.isArray(e)) {
                        for (var t = 0,
                        a = Array(e.length); t < e.length; t++) a[t] = e[t];
                        return a
                    }
                    return Array.from(e)
                }
                Object.defineProperty(a, "__esModule", {
                    value: !0
                });
                var s = function() {
                    function e(e, t) {
                        for (var a = 0; a < t.length; a++) {
                            var i = t[a];
                            i.enumerable = i.enumerable || !1,
                            i.configurable = !0,
                            "value" in i && (i.writable = !0),
                            Object.defineProperty(e, i.key, i)
                        }
                    }
                    return function(t, a, i) {
                        return a && e(t.prototype, a),
                        i && e(t, i),
                        t
                    }
                } ();
                e("ie-array-find-polyfill");
                var o = function(e) {
                    return e && e.__esModule ? e: {
                    default:
                        e
                    }
                } (e("morphdom")),
                r = e("./util"),
                n = "input paste copy click change keydown keyup keypress contextmenu mouseup mousedown mousemove touchstart touchend touchmove compositionstart compositionend focus",
                l = n.replace(/([a-z]+)/g, "[data-action-$1],") + "[data-action]",
                d = function() {
                    function e(t) {
                        var a = this; (function(e, t) {
                            if (! (e instanceof t)) throw new TypeError("Cannot call a class as a function")
                        })(this, e),
                        this.atemplate = [],
                        t && Object.keys(t).forEach((function(e) {
                            a[e] = t[e]
                        })),
                        this.data || (this.data = {}),
                        this.templates || (this.templates = []);
                        for (var i = 0,
                        s = this.templates.length; i < s; i += 1) {
                            var o = this.templates[i],
                            n = (0, r.selector)("#" + o).innerHTML;
                            this.atemplate.push({
                                id: o,
                                html: n,
                                binded: !1
                            })
                        }
                    }
                    return s(e, [{
                        key: "addDataBind",
                        value: function(e) {
                            var t = this; (0, r.on)(e, "[data-bind]", "input change click", (function(e) {
                                var a = e.delegateTarget,
                                i = a.getAttribute("data-bind"),
                                s = a.getAttribute("href"),
                                o = a.value;
                                s && (o = o.replace("#", "")),
                                "checkbox" === a.getAttribute("type") ?
                                function() {
                                    var e = [],
                                    t = document.querySelectorAll('[data-bind="' + i + '"]'); [].forEach.call(t, (function(t) {
                                        t.checked && e.push(t.value)
                                    }))
                                } () : "radio" !== a.getAttribute("type") && t.updateDataByString(i, o)
                            }))
                        }
                    },
                    {
                        key: "addActionBind",
                        value: function(e) {
                            var t = this; (0, r.on)(e, l, n, (function(e) {
                                var a = e.delegateTarget,
                                s = n.split(" "),
                                o = "action";
                                s.forEach((function(t) {
                                    a.getAttribute("data-action-" + t) && e.type === t && (o += "-" + t)
                                }));
                                var r = a.getAttribute("data-" + o);
                                if (r) {
                                    var l, d = r.replace(/\(.*?\);?/, ""),
                                    c = r.replace(/(.*?)\((.*?)\);?/, "$2").split(",");
                                    if (t.e = e, t.method && t.method[d])(l = t.method)[d].apply(l, i(c));
                                    else t[d] && t[d].apply(t, i(c))
                                }
                            }))
                        }
                    },
                    {
                        key: "addTemplate",
                        value: function(e, t) {
                            this.atemplate.push({
                                id: e,
                                html: t,
                                binded: !1
                            }),
                            this.templates.push(e)
                        }
                    },
                    {
                        key: "getData",
                        value: function() {
                            return JSON.parse(JSON.stringify(this.data))
                        }
                    },
                    {
                        key: "saveData",
                        value: function(e) {
                            var t = JSON.stringify(this.data);
                            localStorage.setItem(e, t)
                        }
                    },
                    {
                        key: "setData",
                        value: function(e) {
                            var t = this;
                            Object.keys(e).forEach((function(a) {
                                "function" != typeof e[a] && (t.data[a] = e[a])
                            }))
                        }
                    },
                    {
                        key: "loadData",
                        value: function(e) {
                            var t = JSON.parse(localStorage.getItem(e));
                            t && this.setData(t)
                        }
                    },
                    {
                        key: "getRand",
                        value: function(e, t) {
                            return~~ (Math.random() * (t - e + 1)) + e
                        }
                    },
                    {
                        key: "getRandText",
                        value: function(e) {
                            for (var t = "",
                            a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",
                            i = a.length,
                            s = 0; s < e; s += 1) t += a.charAt(Math.floor(this.getRand(0, i)));
                            return t
                        }
                    },
                    {
                        key: "getDataFromObj",
                        value: function(e, t) {
                            for (var a = (e = (e = e.replace(/\[([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+)\]/g, ".$1")).replace(/^\./, "")).split("."); a.length;) {
                                var i = a.shift();
                                if (! (i in t)) return null;
                                t = t[i]
                            }
                            return t
                        }
                    },
                    {
                        key: "getDataByString",
                        value: function(e) {
                            var t = this.data;
                            return this.getDataFromObj(e, t)
                        }
                    },
                    {
                        key: "updateDataByString",
                        value: function(e, t) {
                            for (var a = this.data,
                            i = e.split("."); i.length > 1;) a = a[i.shift()];
                            a[i.shift()] = t
                        }
                    },
                    {
                        key: "removeDataByString",
                        value: function(e) {
                            for (var t = this.data,
                            a = e.split("."); a.length > 1;) t = t[a.shift()];
                            var i = a.shift();
                            i.match(/^\d+$/) ? t.splice(Number(i), 1) : delete t[i]
                        }
                    },
                    {
                        key: "resolveBlock",
                        value: function(e, t, a) {
                            var i = this,
                            s = e.match(/<!-- BEGIN ([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+):touch#([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+) -->/g),
                            o = e.match(/<!-- BEGIN ([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+):touchnot#([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+) -->/g),
                            r = e.match(/<!-- BEGIN ([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+):exist -->/g),
                            n = e.match(/<!-- BEGIN ([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+):empty -->/g);
                            if (s) for (var l = 0,
                            d = s.length; l < d; l += 1) {
                                var c = s[l],
                                p = (c = c.replace(/([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+):touch#([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+)/, "($1):touch#($2)")).replace(/BEGIN/, "END"),
                                u = new RegExp(c + "(([\\n\\r\\t]|.)*?)" + p, "g");
                                e = e.replace(u, (function(e, a, s, o) {
                                    return "" + ("function" == typeof t[a] ? t[a].apply(i) : i.getDataFromObj(a, t)) === s ? o: ""
                                }))
                            }
                            if (o) for (var h = 0,
                            m = o.length; h < m; h += 1) {
                                var f = o[h],
                                g = (f = f.replace(/([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+):touchnot#([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+)/, "($1):touchnot#($2)")).replace(/BEGIN/, "END"),
                                v = new RegExp(f + "(([\\n\\r\\t]|.)*?)" + g, "g");
                                e = e.replace(v, (function(e, a, s, o) {
                                    return "" + ("function" == typeof t[a] ? t[a].apply(i) : i.getDataFromObj(a, t)) !== s ? o: ""
                                }))
                            }
                            if (r) for (var w = 0,
                            y = r.length; w < y; w += 1) {
                                var b = r[w],
                                x = (b = b.replace(/([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+):exist/, "($1):exist")).replace(/BEGIN/, "END"),
                                T = new RegExp(b + "(([\\n\\r\\t]|.)*?)" + x, "g");
                                e = e.replace(T, (function(e, a, s) {
                                    var o = "function" == typeof t[a] ? t[a].apply(i) : i.getDataFromObj(a, t);
                                    return o || 0 === o ? s: ""
                                }))
                            }
                            if (n) for (var C = 0,
                            S = n.length; C < S; C += 1) {
                                var _ = n[C],
                                k = (_ = _.replace(/([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+):empty/, "($1):empty")).replace(/BEGIN/, "END"),
                                P = new RegExp(_ + "(([\\n\\r\\t]|.)*?)" + k, "g");
                                e = e.replace(P, (function(e, a, s) {
                                    var o = "function" == typeof t[a] ? t[a].apply(i) : i.getDataFromObj(a, t);
                                    return o || 0 === o ? "": s
                                }))
                            }
                            return e.replace(/{([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+)}(\[([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+)\])*/g, (function(e, s, o, r) {
                                var n = void 0;
                                if ("" + s == "i") n = a;
                                else {
                                    if (!t[s] && 0 !== t[s]) return r && i.convert && i.convert[r] ? i.convert[r].call(i, "") : "";
                                    n = "function" == typeof t[s] ? t[s].apply(i) : t[s]
                                }
                                return r && i.convert && i.convert[r] ? i.convert[r].call(i, n) : n
                            }))
                        }
                    },
                    {
                        key: "resolveAbsBlock",
                        value: function(e) {
                            var t = this;
                            return e.replace(/{(.*?)}/g, (function(e, a) {
                                var i = t.getDataByString(a);
                                return void 0 !== i ? "function" == typeof i ? i.apply(t) : i: e
                            }))
                        }
                    },
                    {
                        key: "resolveInclude",
                        value: function(e) {
                            return e.replace(/<!-- #include id="(.*?)" -->/g, (function(e, t) {
                                return (0, r.selector)("#" + t).innerHTML
                            }))
                        }
                    },
                    {
                        key: "resolveWith",
                        value: function(e) {
                            return e.replace(/<!-- BEGIN ([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+):with -->(([\n\r\t]|.)*?)<!-- END ([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+):with -->/g, (function(e, t) {
                                return e.replace(/data\-bind=['"](.*?)['"]/g, "data-bind='" + t + ".$1'")
                            }))
                        }
                    },
                    {
                        key: "resolveLoop",
                        value: function(e) {
                            var t = this;
                            return e.replace(/<!-- BEGIN ([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+?):loop -->(([\n\r\t]|.)*?)<!-- END ([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+?):loop -->/g, (function(e, a, i) {
                                var s, o = t.getDataByString(a),
                                r = "";
                                if ((s = "function" == typeof o ? o.apply(t) : o) instanceof Array) for (var n = 0,
                                l = s.length; n < l; n += 1) r += t.resolveBlock(i, s[n], n);
                                return r.replace(/\\([^\\])/g, "$1")
                            }))
                        }
                    },
                    {
                        key: "removeData",
                        value: function(e) {
                            var t = this.data;
                            return Object.keys(t).forEach((function(a) {
                                for (var i = 0,
                                s = e.length; i < s; i += 1) a === e[i] && delete t[a]
                            })),
                            this
                        }
                    },
                    {
                        key: "hasLoop",
                        value: function(e) {
                            return !! e.match(/<!-- BEGIN ([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+?):loop -->(([\n\r\t]|.)*?)<!-- END ([\w\-\.\u3041-\u3093\u30a1-\u30f6\u4e9c-\u7199]+?):loop -->/g)
                        }
                    },
                    {
                        key: "getHtml",
                        value: function(e, t) {
                            var a = this.atemplate.find((function(t) {
                                return t.id === e
                            })),
                            i = "";
                            if (a && a.html && (i = a.html), t && (i = e), !i) return "";
                            var s = this.data;
                            for (i = this.resolveInclude(i), i = this.resolveWith(i); this.hasLoop(i);) i = this.resolveLoop(i);
                            return i = (i = this.resolveBlock(i, s)).replace(/\\([^\\])/g, "$1"),
                            (i = this.resolveAbsBlock(i)).replace(/^([\t ])*\n/gm, "")
                        }
                    },
                    {
                        key: "update",
                        value: function() {
                            var e = this,
                            t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "html",
                            a = arguments[1],
                            i = this.templates;
                            this.beforeUpdated && this.beforeUpdated();
                            for (var s = 0,
                            n = i.length; s < n; s += 1) !
                            function(s, n) {
                                var l = i[s],
                                d = "#" + l,
                                c = e.getHtml(l),
                                p = (0, r.selector)("[data-id='" + l + "']");
                                if (p) if ("text" === t) p.innerText = c;
                                else if (a) {
                                    var u = document.createElement("div");
                                    u.innerHTML = c;
                                    var h = u.querySelector(a).outerHTML; (0, o.
                                default)(p.querySelector(a), h)
                                } else(0, o.
                            default)(p, "<div data-id='" + l + "'>" + c + "</div>");
                                else(0, r.selector)(d).insertAdjacentHTML("afterend", '<div data-id="' + l + '"></div>'),
                                "text" === t ? (0, r.selector)("[data-id='" + l + "']").innerText = c: (0, r.selector)("[data-id='" + l + "']").innerHTML = c;
                                var m = e.atemplate.find((function(e) {
                                    return e.id === l
                                }));
                                m.binded || (m.binded = !0, e.addDataBind((0, r.selector)("[data-id='" + l + "']")), e.addActionBind((0, r.selector)("[data-id='" + l + "']")))
                            } (s);
                            return this.updateBindingData(a),
                            this.onUpdated && this.onUpdated(a),
                            this
                        }
                    },
                    {
                        key: "updateBindingData",
                        value: function(e) {
                            for (var t = this,
                            a = this.templates,
                            i = 0,
                            s = a.length; i < s; i += 1) {
                                var o = a[i],
                                n = (0, r.selector)("[data-id='" + o + "']");
                                e && (n = n.querySelector(e));
                                var l = n.querySelectorAll("[data-bind]"); [].forEach.call(l, (function(e) {
                                    var a = t.getDataByString(e.getAttribute("data-bind"));
                                    "checkbox" === e.getAttribute("type") || "radio" === e.getAttribute("type") ? a === e.value && (e.checked = !0) : e.value = a
                                }));
                                var d = n.querySelectorAll("[data-bind-oneway]"); [].forEach.call(d, (function(e) {
                                    var a = t.getDataByString(e.getAttribute("data-bind-oneway"));
                                    "checkbox" === e.getAttribute("type") || "radio" === e.getAttribute("type") ? a === e.value && (e.checked = !0) : e.value = a
                                }))
                            }
                            return this
                        }
                    },
                    {
                        key: "applyMethod",
                        value: function(e) {
                            for (var t, a = arguments.length,
                            i = Array(a > 1 ? a - 1 : 0), s = 1; s < a; s++) i[s - 1] = arguments[s];
                            return (t = this.method)[e].apply(t, i)
                        }
                    },
                    {
                        key: "getComputedProp",
                        value: function(e) {
                            return this.data[e].apply(this)
                        }
                    },
                    {
                        key: "remove",
                        value: function(e) {
                            for (var t = this.data,
                            a = e.split("."); a.length > 1;) t = t[a.shift()];
                            var i = a.shift();
                            return i.match(/^\d+$/) ? t.splice(Number(i), 1) : delete t[i],
                            this
                        }
                    }]),
                    e
                } ();
                a.
            default = d,
                t.exports = a.
            default
            },
            {
                "./util": 2,
                "ie-array-find-polyfill": 5,
                morphdom: 6
            }],
            2 : [function(e, t, a) {
                Object.defineProperty(a, "__esModule", {
                    value: !0
                });
                var i = a.matches = function(e, t) {
                    for (var a = (e.document || e.ownerDocument).querySelectorAll(t), i = a.length; --i >= 0 && a.item(i) !== e;);
                    return i > -1
                },
                s = (a.selector = function(e) {
                    return document.querySelector(e)
                },
                a.findAncestor = function(e, t) {
                    if ("function" == typeof e.closest) return e.closest(t) || null;
                    for (; e && e !== document;) {
                        if (i(e, t)) return e;
                        e = e.parentElement
                    }
                    return null
                });
                a.on = function(e, t, a, i) {
                    a.split(" ").forEach((function(a) {
                        e.addEventListener(a, (function(e) {
                            var a = (e.target, s(e.target, t));
                            a && (e.delegateTarget = a, i(e))
                        }))
                    }))
                }
            },
            {}],
            3 : [function(e, t, a) {
                try {
                    var i = new window.CustomEvent("test");
                    if (i.preventDefault(), !0 !== i.defaultPrevented) throw new Error("Could not prevent default")
                } catch(e) {
                    var s = function(e, t) {
                        var a, i;
                        return t = t || {
                            bubbles: !1,
                            cancelable: !1,
                            detail: void 0
                        },
                        (a = document.createEvent("CustomEvent")).initCustomEvent(e, t.bubbles, t.cancelable, t.detail),
                        i = a.preventDefault,
                        a.preventDefault = function() {
                            i.call(this);
                            try {
                                Object.defineProperty(this, "defaultPrevented", {
                                    get: function() {
                                        return ! 0
                                    }
                                })
                            } catch(e) {
                                this.defaultPrevented = !0
                            }
                        },
                        a
                    };
                    s.prototype = window.Event.prototype,
                    window.CustomEvent = s
                }
            },
            {}],
            4 : [function(e, t, a) { (function(e, t) { !
                    function(e) {
                        function s(e) {
                            return "[object Array]" === Object.prototype.toString.call(e)
                        }
                        function o() {
                            for (var e = 0; e < _.length; e++) _[e][0](_[e][1]);
                            _ = [],
                            w = !1
                        }
                        function r(e, t) {
                            _.push([e, t]),
                            w || (w = !0, S(o, 0))
                        }
                        function n(e) {
                            var t = e.owner,
                            a = t.state_,
                            i = t.data_,
                            s = e[a],
                            o = e.then;
                            if ("function" == typeof s) {
                                a = x;
                                try {
                                    i = s(i)
                                } catch(e) {
                                    p(o, e)
                                }
                            }
                            l(o, i) || (a === x && d(o, i), a === T && p(o, i))
                        }
                        function l(e, t) {
                            var a;
                            try {
                                if (e === t) throw new TypeError("A promises callback cannot return that same promise.");
                                if (t && ("function" == typeof t || "object" == i(t))) {
                                    var s = t.then;
                                    if ("function" == typeof s) return s.call(t, (function(i) {
                                        a || (a = !0, t !== i ? d(e, i) : c(e, i))
                                    }), (function(t) {
                                        a || (a = !0, p(e, t))
                                    })),
                                    !0
                                }
                            } catch(t) {
                                return a || p(e, t),
                                !0
                            }
                            return ! 1
                        }
                        function d(e, t) {
                            e !== t && l(e, t) || c(e, t)
                        }
                        function c(e, t) {
                            e.state_ === y && (e.state_ = b, e.data_ = t, r(h, e))
                        }
                        function p(e, t) {
                            e.state_ === y && (e.state_ = b, e.data_ = t, r(m, e))
                        }
                        function u(e) {
                            var t = e.then_;
                            e.then_ = void 0;
                            for (var a = 0; a < t.length; a++) n(t[a])
                        }
                        function h(e) {
                            e.state_ = x,
                            u(e)
                        }
                        function m(e) {
                            e.state_ = T,
                            u(e)
                        }
                        function f(e) {
                            if ("function" != typeof e) throw new TypeError("Promise constructor takes a function argument");
                            if (this instanceof f == 0) throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");
                            this.then_ = [],
                            function(e, t) {
                                function a(e) {
                                    p(t, e)
                                }
                                try {
                                    e((function(e) {
                                        d(t, e)
                                    }), a)
                                } catch(e) {
                                    a(e)
                                }
                            } (e, this)
                        }
                        var g = e.Promise,
                        v = g && "resolve" in g && "reject" in g && "all" in g && "race" in g &&
                        function() {
                            var e;
                            return new g((function(t) {
                                e = t
                            })),
                            "function" == typeof e
                        } ();
                        void 0 !== a && a ? (a.Promise = v ? g: f, a.Polyfill = f) : "function" == typeof define && define.amd ? define((function() {
                            return v ? g: f
                        })) : v || (e.Promise = f);
                        var w, y = "pending",
                        b = "sealed",
                        x = "fulfilled",
                        T = "rejected",
                        C = function() {},
                        S = void 0 !== t ? t: setTimeout,
                        _ = [];
                        f.prototype = {
                            constructor: f,
                            state_: y,
                            then_: null,
                            data_: void 0,
                            then: function(e, t) {
                                var a = {
                                    owner: this,
                                    then: new this.constructor(C),
                                    fulfilled: e,
                                    rejected: t
                                };
                                return this.state_ === x || this.state_ === T ? r(n, a) : this.then_.push(a),
                                a.then
                            },
                            catch: function(e) {
                                return this.then(null, e)
                            }
                        },
                        f.all = function(e) {
                            if (!s(e)) throw new TypeError("You must pass an array to Promise.all().");
                            return new this((function(t, a) {
                                for (var i, s = [], o = 0, r = 0; r < e.length; r++)(i = e[r]) && "function" == typeof i.then ? i.then(function(e) {
                                    return o++,
                                    function(a) {
                                        s[e] = a,
                                        --o || t(s)
                                    }
                                } (r), a) : s[r] = i;
                                o || t(s)
                            }))
                        },
                        f.race = function(e) {
                            if (!s(e)) throw new TypeError("You must pass an array to Promise.race().");
                            return new this((function(t, a) {
                                for (var i, s = 0; s < e.length; s++)(i = e[s]) && "function" == typeof i.then ? i.then(t, a) : t(i)
                            }))
                        },
                        f.resolve = function(e) {
                            return e && "object" == i(e) && e.constructor === this ? e: new this((function(t) {
                                t(e)
                            }))
                        },
                        f.reject = function(e) {
                            return new this((function(t, a) {
                                a(e)
                            }))
                        }
                    } ("undefined" != typeof window ? window: void 0 !== e ? e: "undefined" != typeof self ? self: this)
                }).call(this, "undefined" != typeof global ? global: "undefined" != typeof self ? self: "undefined" != typeof window ? window: {},
                e("timers").setImmediate)
            },
            {
                timers: 8
            }],
            5 : [function(e, t, a) {
                Array.prototype.find || Object.defineProperty(Array.prototype, "find", {
                    value: function(e) {
                        if (null == this) throw new TypeError("this is null or not defined");
                        var t = Object(this),
                        a = t.length >>> 0;
                        if ("function" != typeof e) throw new TypeError("predicate must be a function");
                        for (var i = arguments[1], s = 0; s < a;) {
                            var o = t[s];
                            if (e.call(i, o, s, t)) return o;
                            s++
                        }
                    }
                })
            },
            {}],
            6 : [function(e, t, a) {
                function i(e) {
                    var t;
                    return ! d && p.createRange && (d = p.createRange()).selectNode(p.body),
                    d && d.createContextualFragment ? t = d.createContextualFragment(e) : (t = p.createElement("body")).innerHTML = e,
                    t.childNodes[0]
                }
                function s(e, t) {
                    var a = e.nodeName,
                    i = t.nodeName;
                    return a === i || !!(t.actualize && a.charCodeAt(0) < 91 && i.charCodeAt(0) > 90) && a === i.toUpperCase()
                }
                function o(e, t) {
                    return t && t !== c ? p.createElementNS(t, e) : p.createElement(e)
                }
                function r(e, t, a) {
                    e[a] !== t[a] && (e[a] = t[a], e[a] ? e.setAttribute(a, "") : e.removeAttribute(a, ""))
                }
                function n() {}
                function l(e) {
                    return e.id
                }
                var d, c = "http://www.w3.org/1999/xhtml",
                p = "undefined" == typeof document ? void 0 : document,
                u = p ? p.body || p.createElement("div") : {},
                h = u.hasAttributeNS ?
                function(e, t, a) {
                    return e.hasAttributeNS(t, a)
                }: u.hasAttribute ?
                function(e, t, a) {
                    return e.hasAttribute(a)
                }: function(e, t, a) {
                    return null != e.getAttributeNode(t, a)
                },
                m = {
                    OPTION: function(e, t) {
                        r(e, t, "selected")
                    },
                    INPUT: function(e, t) {
                        r(e, t, "checked"),
                        r(e, t, "disabled"),
                        e.value !== t.value && (e.value = t.value),
                        h(t, null, "value") || e.removeAttribute("value")
                    },
                    TEXTAREA: function(e, t) {
                        var a = t.value;
                        e.value !== a && (e.value = a);
                        var i = e.firstChild;
                        if (i) {
                            var s = i.nodeValue;
                            if (s == a || !a && s == e.placeholder) return;
                            i.nodeValue = a
                        }
                    },
                    SELECT: function(e, t) {
                        if (!h(t, null, "multiple")) {
                            for (var a = 0,
                            i = t.firstChild; i;) {
                                var s = i.nodeName;
                                if (s && "OPTION" === s.toUpperCase()) {
                                    if (h(i, null, "selected")) break;
                                    a++
                                }
                                i = i.nextSibling
                            }
                            e.selectedIndex = a
                        }
                    }
                },
                f = function(e) {
                    return function(t, a, r) {
                        function d(e) {
                            g ? g.push(e) : g = [e]
                        }
                        function c(e, t, a) { ! 1 !== T(e) && (t && t.removeChild(e), C(e),
                            function e(t, a) {
                                if (1 === t.nodeType) for (var i = t.firstChild; i;) {
                                    var s = void 0;
                                    a && (s = v(i)) ? d(s) : (C(i), i.firstChild && e(i, a)),
                                    i = i.nextSibling
                                }
                            } (e, a))
                        }
                        function u(e) {
                            y(e);
                            for (var t = e.firstChild; t;) {
                                var a = t.nextSibling,
                                i = v(t);
                                if (i) {
                                    var o = k[i];
                                    o && s(t, o) && (t.parentNode.replaceChild(o, t), h(o, t))
                                }
                                u(t),
                                t = a
                            }
                        }
                        function h(i, o, r) {
                            var n, l = v(o);
                            if (l && delete k[l], !a.isSameNode || !a.isSameNode(t)) {
                                if (!r) {
                                    if (!1 === b(i, o)) return;
                                    if (e(i, o), x(i), !1 === S(i, o)) return
                                }
                                if ("TEXTAREA" !== i.nodeName) {
                                    var f, g, y, T, C = o.firstChild,
                                    _ = i.firstChild;
                                    e: for (; C;) {
                                        for (y = C.nextSibling, f = v(C); _;) {
                                            if (g = _.nextSibling, C.isSameNode && C.isSameNode(_)) {
                                                C = y,
                                                _ = g;
                                                continue e
                                            }
                                            n = v(_);
                                            var P = _.nodeType,
                                            E = void 0;
                                            if (P === C.nodeType && (1 === P ? (f ? f !== n && ((T = k[f]) ? _.nextSibling === T ? E = !1 : (i.insertBefore(T, _), g = _.nextSibling, n ? d(n) : c(_, i, !0), _ = T) : E = !1) : n && (E = !1), (E = !1 !== E && s(_, C)) && h(_, C)) : 3 !== P && 8 != P || (E = !0, _.nodeValue !== C.nodeValue && (_.nodeValue = C.nodeValue))), E) {
                                                C = y,
                                                _ = g;
                                                continue e
                                            }
                                            n ? d(n) : c(_, i, !0),
                                            _ = g
                                        }
                                        if (f && (T = k[f]) && s(T, C)) i.appendChild(T),
                                        h(T, C);
                                        else {
                                            var I = w(C); ! 1 !== I && (I && (C = I), C.actualize && (C = C.actualize(i.ownerDocument || p)), i.appendChild(C), u(C))
                                        }
                                        C = y,
                                        _ = g
                                    }
                                    for (; _;) g = _.nextSibling,
                                    (n = v(_)) ? d(n) : c(_, i, !0),
                                    _ = g
                                }
                                var j = m[i.nodeName];
                                j && j(i, o)
                            }
                        }
                        if (r || (r = {}), "string" == typeof a) if ("#document" === t.nodeName || "HTML" === t.nodeName) {
                            var f = a; (a = p.createElement("html")).innerHTML = f
                        } else a = i(a);
                        var g, v = r.getNodeKey || l,
                        w = r.onBeforeNodeAdded || n,
                        y = r.onNodeAdded || n,
                        b = r.onBeforeElUpdated || n,
                        x = r.onElUpdated || n,
                        T = r.onBeforeNodeDiscarded || n,
                        C = r.onNodeDiscarded || n,
                        S = r.onBeforeElChildrenUpdated || n,
                        _ = !0 === r.childrenOnly,
                        k = {}; !
                        function e(t) {
                            if (1 === t.nodeType) for (var a = t.firstChild; a;) {
                                var i = v(a);
                                i && (k[i] = a),
                                e(a),
                                a = a.nextSibling
                            }
                        } (t);
                        var P = t,
                        E = P.nodeType,
                        I = a.nodeType;
                        if (!_) if (1 === E) 1 === I ? s(t, a) || (C(t), P = function(e, t) {
                            for (var a = e.firstChild; a;) {
                                var i = a.nextSibling;
                                t.appendChild(a),
                                a = i
                            }
                            return t
                        } (t, o(a.nodeName, a.namespaceURI))) : P = a;
                        else if (3 === E || 8 === E) {
                            if (I === E) return P.nodeValue !== a.nodeValue && (P.nodeValue = a.nodeValue),
                            P;
                            P = a
                        }
                        if (P === a) C(t);
                        else if (h(P, a, _), g) for (var j = 0,
                        M = g.length; j < M; j++) {
                            var D = k[g[j]];
                            D && c(D, D.parentNode, !1)
                        }
                        return ! _ && P !== t && t.parentNode && (P.actualize && (P = P.actualize(t.ownerDocument || p)), t.parentNode.replaceChild(P, t)),
                        P
                    }
                } ((function(e, t) {
                    var a, i, s, o, r, n = t.attributes;
                    for (a = n.length - 1; a >= 0; --a) s = (i = n[a]).name,
                    o = i.namespaceURI,
                    r = i.value,
                    o ? (s = i.localName || s, e.getAttributeNS(o, s) !== r && e.setAttributeNS(o, s, r)) : e.getAttribute(s) !== r && e.setAttribute(s, r);
                    for (a = (n = e.attributes).length - 1; a >= 0; --a) ! 1 !== (i = n[a]).specified && (s = i.name, (o = i.namespaceURI) ? (s = i.localName || s, h(t, o, s) || e.removeAttributeNS(o, s)) : h(t, null, s) || e.removeAttribute(s))
                }));
                t.exports = f
            },
            {}],
            7 : [function(e, t, a) {
                function i() {
                    throw new Error("setTimeout has not been defined")
                }
                function s() {
                    throw new Error("clearTimeout has not been defined")
                }
                function o(e) {
                    if (c === setTimeout) return setTimeout(e, 0);
                    if ((c === i || !c) && setTimeout) return c = setTimeout,
                    setTimeout(e, 0);
                    try {
                        return c(e, 0)
                    } catch(t) {
                        try {
                            return c.call(null, e, 0)
                        } catch(t) {
                            return c.call(this, e, 0)
                        }
                    }
                }
                function r() {
                    f && h && (f = !1, h.length ? m = h.concat(m) : g = -1, m.length && n())
                }
                function n() {
                    if (!f) {
                        var e = o(r);
                        f = !0;
                        for (var t = m.length; t;) {
                            for (h = m, m = []; ++g < t;) h && h[g].run();
                            g = -1,
                            t = m.length
                        }
                        h = null,
                        f = !1,
                        function(e) {
                            if (p === clearTimeout) return clearTimeout(e);
                            if ((p === s || !p) && clearTimeout) return p = clearTimeout,
                            clearTimeout(e);
                            try {
                                p(e)
                            } catch(t) {
                                try {
                                    return p.call(null, e)
                                } catch(t) {
                                    return p.call(this, e)
                                }
                            }
                        } (e)
                    }
                }
                function l(e, t) {
                    this.fun = e,
                    this.array = t
                }
                function d() {}
                var c, p, u = t.exports = {}; !
                function() {
                    try {
                        c = "function" == typeof setTimeout ? setTimeout: i
                    } catch(e) {
                        c = i
                    }
                    try {
                        p = "function" == typeof clearTimeout ? clearTimeout: s
                    } catch(e) {
                        p = s
                    }
                } ();
                var h, m = [],
                f = !1,
                g = -1;
                u.nextTick = function(e) {
                    var t = new Array(arguments.length - 1);
                    if (arguments.length > 1) for (var a = 1; a < arguments.length; a++) t[a - 1] = arguments[a];
                    m.push(new l(e, t)),
                    1 !== m.length || f || o(n)
                },
                l.prototype.run = function() {
                    this.fun.apply(null, this.array)
                },
                u.title = "browser",
                u.browser = !0,
                u.env = {},
                u.argv = [],
                u.version = "",
                u.versions = {},
                u.on = d,
                u.addListener = d,
                u.once = d,
                u.off = d,
                u.removeListener = d,
                u.removeAllListeners = d,
                u.emit = d,
                u.prependListener = d,
                u.prependOnceListener = d,
                u.listeners = function(e) {
                    return []
                },
                u.binding = function(e) {
                    throw new Error("process.binding is not supported")
                },
                u.cwd = function() {
                    return "/"
                },
                u.chdir = function(e) {
                    throw new Error("process.chdir is not supported")
                },
                u.umask = function() {
                    return 0
                }
            },
            {}],
            8 : [function(e, t, a) { (function(t, i) {
                    function s(e, t) {
                        this._id = e,
                        this._clearFn = t
                    }
                    var o = e("process/browser.js").nextTick,
                    r = Function.prototype.apply,
                    n = Array.prototype.slice,
                    l = {},
                    d = 0;
                    a.setTimeout = function() {
                        return new s(r.call(setTimeout, window, arguments), clearTimeout)
                    },
                    a.setInterval = function() {
                        return new s(r.call(setInterval, window, arguments), clearInterval)
                    },
                    a.clearTimeout = a.clearInterval = function(e) {
                        e.close()
                    },
                    s.prototype.unref = s.prototype.ref = function() {},
                    s.prototype.close = function() {
                        this._clearFn.call(window, this._id)
                    },
                    a.enroll = function(e, t) {
                        clearTimeout(e._idleTimeoutId),
                        e._idleTimeout = t
                    },
                    a.unenroll = function(e) {
                        clearTimeout(e._idleTimeoutId),
                        e._idleTimeout = -1
                    },
                    a._unrefActive = a.active = function(e) {
                        clearTimeout(e._idleTimeoutId);
                        var t = e._idleTimeout;
                        t >= 0 && (e._idleTimeoutId = setTimeout((function() {
                            e._onTimeout && e._onTimeout()
                        }), t))
                    },
                    a.setImmediate = "function" == typeof t ? t: function(e) {
                        var t = d++,
                        i = !(arguments.length < 2) && n.call(arguments, 1);
                        return l[t] = !0,
                        o((function() {
                            l[t] && (i ? e.apply(null, i) : e.call(null), a.clearImmediate(t))
                        })),
                        t
                    },
                    a.clearImmediate = "function" == typeof i ? i: function(e) {
                        delete l[e]
                    }
                }).call(this, e("timers").setImmediate, e("timers").clearImmediate)
            },
            {
                "process/browser.js": 7,
                timers: 8
            }],
            9 : [function(e, t, a) {
                var i = e("../index"),
                s = function(e) {
                    e.fn.SmartPhoto = function(e) {
                        return "strings" == typeof e || new i(this, e),
                        this
                    }
                };
                if ("function" == typeof define && define.amd) define(["jquery"], s);
                else {
                    var o = window.jQuery ? window.jQuery: window.$;
                    void 0 !== o && s(o)
                }
                t.exports = s
            },
            {
                "../index": 11
            }],
            10 : [function(e, t, a) {
                function s(e, t) {
                    if (!e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
                    return ! t || "object" != i(t) && "function" != typeof t ? e: t
                }
                Object.defineProperty(a, "__esModule", {
                    value: !0
                });
                var o = function() {
                    function e(e, t) {
                        for (var a = 0; a < t.length; a++) {
                            var i = t[a];
                            i.enumerable = i.enumerable || !1,
                            i.configurable = !0,
                            "value" in i && (i.writable = !0),
                            Object.defineProperty(e, i.key, i)
                        }
                    }
                    return function(t, a, i) {
                        return a && e(t.prototype, a),
                        i && e(t, i),
                        t
                    }
                } (),
                r = function(e) {
                    return e && e.__esModule ? e: {
                    default:
                        e
                    }
                } (e("a-template"));
                e("custom-event-polyfill");
                var n = e("../lib/util"),
                l = e("es6-promise-polyfill").Promise,
                d = {
                    classNames: {
                        smartPhoto: "smartphoto",
                        smartPhotoClose: "smartphoto-close",
                        smartPhotoBody: "smartphoto-body",
                        smartPhotoInner: "smartphoto-inner",
                        smartPhotoContent: "smartphoto-content",
                        smartPhotoImg: "smartphoto-img",
                        smartPhotoImgOnMove: "smartphoto-img-onmove",
                        smartPhotoImgElasticMove: "smartphoto-img-elasticmove",
                        smartPhotoImgWrap: "smartphoto-img-wrap",
                        smartPhotoArrows: "smartphoto-arrows",
                        smartPhotoNav: "smartphoto-nav",
                        smartPhotoArrowRight: "smartphoto-arrow-right",
                        smartPhotoArrowLeft: "smartphoto-arrow-left",
                        smartPhotoArrowHideIcon: "smartphoto-arrow-hide",
                        smartPhotoImgLeft: "smartphoto-img-left",
                        smartPhotoImgRight: "smartphoto-img-right",
                        smartPhotoList: "smartphoto-list",
                        smartPhotoListOnMove: "smartphoto-list-onmove",
                        smartPhotoHeader: "smartphoto-header",
                        smartPhotoCount: "smartphoto-count",
                        smartPhotoCaption: "smartphoto-caption",
                        smartPhotoDismiss: "smartphoto-dismiss",
                        smartPhotoLoader: "smartphoto-loader",
                        smartPhotoLoaderWrap: "smartphoto-loader-wrap",
                        smartPhotoImgClone: "smartphoto-img-clone"
                    },
                    message: {
                        gotoNextImage: "go to the next image",
                        gotoPrevImage: "go to the previous image",
                        closeDialog: "close the image dialog"
                    },
                    arrows: !0,
                    nav: !0,
                    showAnimation: !0,
                    verticalGravity: !1,
                    useOrientationApi: !1,
                    useHistoryApi: !0,
                    swipeTopToClose: !1,
                    swipeBottomToClose: !0,
                    swipeOffset: 100,
                    headerHeight: 60,
                    footerHeight: 60,
                    forceInterval: 10,
                    registance: .5,
                    loadOffset: 2,
                    resizeStyle: "fit"
                },
                c = function(e) {
                    function t(e, a) { !
                        function(e, t) {
                            if (! (e instanceof t)) throw new TypeError("Cannot call a class as a function")
                        } (this, t);
                        var i = s(this, (t.__proto__ || Object.getPrototypeOf(t)).call(this));
                        i.data = n.extend({},
                        d, a),
                        i.data.currentIndex = 0,
                        i.data.oldIndex = 0,
                        i.data.hide = !0,
                        i.data.group = {},
                        i.data.scaleSize = 1,
                        i.data.scale = !1,
                        i.pos = {
                            x: 0,
                            y: 0
                        },
                        i.data.photoPosX = 0,
                        i.data.photoPosY = 0,
                        i.convert = {
                            increment: i.increment,
                            virtualPos: i.virtualPos,
                            round: i.round
                        },
                        i.data.groupItems = i.groupItems,
                        i.elements = "string" == typeof e ? document.querySelectorAll(e) : e;
                        var o = new Date;
                        i.tapSecond = o.getTime(),
                        i.onListMove = !1,
                        i.clicked = !1,
                        i.id = i._getUniqId(),
                        i.vx = 0,
                        i.vy = 0,
                        i.data.appearEffect = null,
                        i.addTemplate(i.id, '<div class="\\{classNames.smartPhoto\\}"\x3c!-- BEGIN hide:exist --\x3e aria-hidden="true"\x3c!-- END hide:exist --\x3e\x3c!-- BEGIN hide:empty --\x3e aria-hidden="false"\x3c!-- END hide:empty --\x3e role="dialog">\n\t<div class="\\{classNames.smartPhotoBody\\}">\n\t\t<div class="\\{classNames.smartPhotoInner\\}">\n\t\t\t   <div class="\\{classNames.smartPhotoHeader\\}">\n\t\t\t\t\t<span class="\\{classNames.smartPhotoCount\\}">{currentIndex}[increment]/{total}</span>\n\t\t\t\t\t<span class="\\{classNames.smartPhotoCaption\\}" aria-live="polite" tabindex="-1">\x3c!-- BEGIN groupItems:loop --\x3e\x3c!-- \\BEGIN currentIndex:touch#{index} --\x3e{caption}\x3c!-- \\END currentIndex:touch#{index} --\x3e\x3c!-- END groupItems:loop --\x3e</span>\n\t\t\t\t\t<button class="\\{classNames.smartPhotoDismiss\\}" data-action-click="hidePhoto()"><span class="smartphoto-sr-only">\\{message.closeDialog\\}</span></button>\n\t\t\t\t</div>\n\t\t\t\t<div class="\\{classNames.smartPhotoContent\\}"\x3c!-- BEGIN isSmartPhone:exist --\x3e data-action-touchstart="beforeDrag" data-action-touchmove="onDrag" data-action-touchend="afterDrag(false)"\x3c!-- END isSmartPhone:exist --\x3e\x3c!-- BEGIN isSmartPhone:empty --\x3e data-action-click="hidePhoto()"\x3c!-- END isSmartPhone:empty --\x3e>\n\t\t\t\t</div>\n\t\t\t\t<ul style="transform:translate({translateX}[round]px,{translateY}[round]px);" class="\\{classNames.smartPhotoList\\}\x3c!-- BEGIN onMoveClass:exist --\x3e \\{classNames.smartPhotoListOnMove\\}\x3c!-- END onMoveClass:exist --\x3e">\n\t\t\t\t\t\x3c!-- BEGIN groupItems:loop --\x3e\n\t\t\t\t\t<li style="transform:translate({translateX}[round]px,{translateY}[round]px);" class="\x3c!-- \\BEGIN currentIndex:touch#{index} --\x3ecurrent\x3c!-- \\END currentIndex:touch#{index} --\x3e">\n\t\t\t\t\t\t\x3c!-- BEGIN processed:exist --\x3e\n\t\t\t\t\t\t<div style="transform:translate({x}[round]px,{y}[round]px) scale({scale});" class="\\\\{classNames.smartPhotoImgWrap\\\\}"\x3c!-- \\BEGIN isSmartPhone:empty --\x3e data-action-mousemove="onDrag" data-action-mousedown="beforeDrag" data-action-mouseup="afterDrag"\x3c!-- \\END isSmartPhone:empty --\x3e\x3c!-- \\BEGIN isSmartPhone:exist --\x3e data-action-touchstart="beforeDrag" data-action-touchmove="onDrag" data-action-touchend="afterDrag"\x3c!-- \\END isSmartPhone:exist --\x3e>\n\t\t\t\t\t\t\t<img style="\x3c!-- \\BEGIN currentIndex:touch#{index} --\x3etransform:translate(\\{photoPosX\\}[virtualPos]px,\\{photoPosY\\}[virtualPos]px) scale(\\{scaleSize\\});\x3c!-- \\END currentIndex:touch#{index} --\x3ewidth:{width}px;" src="{src}" class="\\\\{classNames.smartPhotoImg\\\\}\x3c!-- \\BEGIN scale:exist --\x3e  \\\\{classNames.smartPhotoImgOnMove\\\\}\x3c!-- \\END scale:exist --\x3e\x3c!-- \\BEGIN elastic:exist --\x3e \\\\{classNames.smartPhotoImgElasticMove\\\\}\x3c!-- \\END elastic:exist --\x3e\x3c!-- \\BEGIN appear:exist --\x3e active\x3c!-- \\END appear:exist --\x3e" ondragstart="return false;">\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\x3c!-- END processed:exist --\x3e\n\t\t\t\t\t\t\x3c!-- BEGIN processed:empty --\x3e\n\t\t\t\t\t\t<div class="\\\\{classNames.smartPhotoLoaderWrap\\\\}">\n\t\t\t\t\t\t\t<span class="\\\\{classNames.smartPhotoLoader\\\\}"></span>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\x3c!-- END processed:empty --\x3e\n\t\t\t\t\t</li>\n\t\t\t\t\t\x3c!-- END groupItems:loop --\x3e\n\t\t\t\t</ul>\n\t\t\t\t\x3c!-- BEGIN arrows:exist --\x3e\n\t\t\t\t<ul class="\\{classNames.smartPhotoArrows\\}"\x3c!-- BEGIN hideUi:exist --\x3e aria-hidden="true"\x3c!-- END hideUi:exist --\x3e\x3c!-- BEGIN hideUi:exist --\x3e aria-hidden="false"\x3c!-- END hideUi:exist --\x3e>\n\t\t\t\t\t<li class="\\{classNames.smartPhotoArrowLeft\\}\x3c!-- BEGIN isSmartPhone:exist --\x3e \\{classNames.smartPhotoArrowHideIcon\\}\x3c!-- END isSmartPhone:exist --\x3e"\x3c!-- BEGIN showPrevArrow:empty --\x3e aria-hidden="true"\x3c!-- END showPrevArrow:empty --\x3e><a href="#" data-action-click="gotoSlide({prev})" role="button"><span class="smartphoto-sr-only">\\{message.gotoPrevImage\\}</span></a></li>\n\t\t\t\t\t<li class="\\{classNames.smartPhotoArrowRight\\}\x3c!-- BEGIN isSmartPhone:exist --\x3e \\{classNames.smartPhotoArrowHideIcon\\}\x3c!-- END isSmartPhone:exist --\x3e"\x3c!-- BEGIN showNextArrow:empty --\x3e aria-hidden="true"\x3c!-- END showNextArrow:empty --\x3e><a href="#" data-action-click="gotoSlide({next})" role="button"><span class="smartphoto-sr-only">\\{message.gotoNextImage\\}</span></a></li>\n\t\t\t\t</ul>\n\t\t\t\t\x3c!-- END arrows:exist --\x3e\n\t\t\t\t\x3c!-- BEGIN nav:exist --\x3e\n\t\t\t\t<nav class="\\{classNames.smartPhotoNav\\}"\x3c!-- BEGIN hideUi:exist --\x3e aria-hidden="true"\x3c!-- END hideUi:exist --\x3e\x3c!-- BEGIN hideUi:exist --\x3e aria-hidden="false"\x3c!-- END hideUi:exist --\x3e>\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t\x3c!-- BEGIN groupItems:loop --\x3e\n\t\t\t\t\t\t<li><a href="#" data-action-click="gotoSlide({index})" class="\x3c!-- \\BEGIN currentIndex:touch#{index} --\x3ecurrent\x3c!-- \\END currentIndex:touch#{index} --\x3e" style="background-image:url({thumb});" role="button"><span class="smartphoto-sr-only">go to {caption}</span></a></li>\n\t\t\t\t\t\t\x3c!-- END groupItems:loop --\x3e\n\t\t\t\t\t</ul>\n\t\t\t\t</nav>\n\t\t\t\t\x3c!-- END nav:exist --\x3e\n\t\t</div>\n\t\t\x3c!-- BEGIN appearEffect:exist --\x3e\n\t\t<img src=\\{appearEffect.img\\}\n\t\tclass="\\{classNames.smartPhotoImgClone\\}"\n\t\tstyle="width:\\{appearEffect.width\\}px;height:\\{appearEffect.height\\}px;transform:translate(\\{appearEffect.left\\}px,\\{appearEffect.top\\}px) scale(1)" />\n\t\t\x3c!-- END appearEffect:exist --\x3e\n\t</div>\n</div>\n'),
                        i.data.isSmartPhone = i._isSmartPhone();
                        var r = document.querySelector("body");
                        n.append(r, "<div data-id='" + i.id + "'></div>"),
                        [].forEach.call(i.elements, (function(e) {
                            i.addNewItem(e)
                        })),
                        i.update();
                        var l = i._getCurrentItemByHash();
                        return l && n.triggerEvent(l.element, "click"),
                        setInterval((function() {
                            i._doAnim()
                        }), i.data.forceInterval),
                        i.data.isSmartPhone ? (window.addEventListener("orientationchange", (function() {
                            i.groupItems() && (i._resetTranslate(), i._setPosByCurrentIndex(), i._setHashByCurrentIndex(), i._setSizeByScreen(), i.update())
                        })), i.data.useOrientationApi ? (window.addEventListener("deviceorientation", (function(e) {
                            var t = window.orientation;
                            e && e.gamma && !i.data.appearEffect && (i.isBeingZoomed || i.photoSwipable || i.data.elastic || !i.data.scale || (0 === t ? i._calcGravity(e.gamma, e.beta) : 90 === t ? i._calcGravity(e.beta, e.gamma) : -90 === t ? i._calcGravity( - e.beta, -e.gamma) : 180 === t && i._calcGravity( - e.gamma, -e.beta)))
                        })), i) : s(i)) : (window.addEventListener("resize", (function() {
                            i.groupItems() && (i._resetTranslate(), i._setPosByCurrentIndex(), i._setSizeByScreen(), i.update())
                        })), window.addEventListener("keydown", (function(e) {
                            var t = e.keyCode || e.which; ! 0 !== i.data.hide && (37 === t ? i.gotoSlide(i.data.prev) : 39 === t ? i.gotoSlide(i.data.next) : 27 === t && i.hidePhoto())
                        })), s(i))
                    }
                    return function(e, t) {
                        if ("function" != typeof t && null !== t) throw new TypeError("Super expression must either be null or a function, not " + i(t));
                        e.prototype = Object.create(t && t.prototype, {
                            constructor: {
                                value: e,
                                enumerable: !1,
                                writable: !0,
                                configurable: !0
                            }
                        }),
                        t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t)
                    } (t, e),
                    o(t, [{
                        key: "on",
                        value: function(e, t) {
                            var a = this;
                            this._getElementByClass(this.data.classNames.smartPhoto).addEventListener(e, (function(e) {
                                t.call(a, e)
                            }))
                        }
                    },
                    {
                        key: "increment",
                        value: function(e) {
                            return e + 1
                        }
                    },
                    {
                        key: "round",
                        value: function(e) {
                            return Math.round(e)
                        }
                    },
                    {
                        key: "virtualPos",
                        value: function(e) {
                            return (e = parseInt(e, 10)) / this._getSelectedItem().scale / this.data.scaleSize
                        }
                    },
                    {
                        key: "groupItems",
                        value: function() {
                            return this.data.group[this.data.currentGroup]
                        }
                    },
                    {
                        key: "_resetTranslate",
                        value: function() {
                            var e = this;
                            this.groupItems().forEach((function(t, a) {
                                t.translateX = e._getWindowWidth() * a
                            }))
                        }
                    },
                    {
                        key: "addNewItem",
                        value: function(e) {
                            var t = this,
                            a = e.getAttribute("data-group") || "nogroup",
                            i = this.data.group;
                            "nogroup" === a && e.setAttribute("data-group", "nogroup"),
                            i[a] || (i[a] = []);
                            var s = i[a].length,
                            o = document.querySelector("body"),
                            r = e.getAttribute("href"),
                            n = e.querySelector("img"),
                            l = r;
                            n && (l = n.currentSrc ? n.currentSrc: n.src);
                            var d = {
                                src: r,
                                thumb: l,
                                caption: e.getAttribute("data-caption"),
                                groupId: a,
                                translateX: this._getWindowWidth() * s,
                                index: s,
                                translateY: 0,
                                width: 50,
                                height: 50,
                                id: e.getAttribute("data-id") || s,
                                loaded: !1,
                                processed: !1,
                                element: e
                            };
                            i[a].push(d),
                            this.data.currentGroup = a,
                            e.getAttribute("data-id") || e.setAttribute("data-id", s),
                            e.setAttribute("data-index", s),
                            jQuery(e).on("click.lightbox", (function(a) {
                                a.preventDefault(),
                                t.data.currentGroup = e.getAttribute("data-group"),
                                t.data.currentIndex = parseInt(e.getAttribute("data-index"), 10),
                                t._setHashByCurrentIndex();
                                var i = t._getSelectedItem();
                                i.loaded ? (t._initPhoto(), t.addAppearEffect(e, i), t.clicked = !0, t.update(), o.style.overflow = "hidden", t._fireEvent("open")) : t._loadItem(i).then((function() {
                                    t._initPhoto(),
                                    t.addAppearEffect(e, i),
                                    t.clicked = !0,
                                    t.update(),
                                    o.style.overflow = "hidden",
                                    t._fireEvent("open")
                                }))
                            }))
                        }
                    },
                    {
                        key: "_initPhoto",
                        value: function() {
                            this.data.total = this.groupItems().length,
                            this.data.hide = !1,
                            this.data.photoPosX = 0,
                            this.data.photoPosY = 0,
                            this._setPosByCurrentIndex(),
                            this._setSizeByScreen(),
                            this.setArrow(),
                            "fill" === this.data.resizeStyle && this.data.isSmartPhone && (this.data.scale = !0, this.data.hideUi = !0, this.data.scaleSize = this._getScaleBoarder())
                        }
                    },
                    {
                        key: "onUpdated",
                        value: function() {
                            var e = this;
                            if (this.data.appearEffect && this.data.appearEffect.once && (this.data.appearEffect.once = !1, this.execEffect().then((function() {
                                e.data.appearEffect = null,
                                e.data.appear = !0,
                                e.update()
                            }))), this.clicked) {
                                this.clicked = !1;
                                var t = this.data.classNames;
                                this._getElementByClass(t.smartPhotoCaption).focus()
                            }
                        }
                    },
                    {
                        key: "execEffect",
                        value: function() {
                            var e = this;
                            return new l((function(t) {
                                n.isOldIE() && t();
                                var a = e.data,
                                i = a.appearEffect,
                                s = a.classNames,
                                o = e._getElementByClass(s.smartPhotoImgClone);
                                o.addEventListener("transitionend", (function e() {
                                    o.removeEventListener("transitionend", e, !0),
                                    t()
                                }), !0),
                                setTimeout((function() {
                                    o.style.transform = "translate(" + i.afterX + "px, " + i.afterY + "px) scale(" + i.scale + ")"
                                }), 10)
                            }))
                        }
                    },
                    {
                        key: "addAppearEffect",
                        value: function(e, t) {
                            if (!1 !== this.data.showAnimation) {
                                var a = e.querySelector("img"),
                                i = n.getViewPos(a),
                                s = {},
                                o = 1;
                                s.width = a.offsetWidth,
                                s.height = a.offsetHeight,
                                s.top = i.top,
                                s.left = i.left,
                                s.once = !0,
                                s.img = t.src;
                                var r = this._getWindowWidth(),
                                l = this._getWindowHeight(),
                                d = l - this.data.headerHeight - this.data.footerHeight;
                                "fill" === this.data.resizeStyle && this.data.isSmartPhone ? o = a.offsetWidth > a.offsetHeight ? l / a.offsetHeight: r / a.offsetWidth: (s.width >= s.height ? o = t.height < d ? t.width / s.width: d / s.height: s.height > s.width && (o = t.height < d ? t.height / s.height: d / s.height), s.width * o > r && (o = r / s.width));
                                var c = (o - 1) / 2 * a.offsetWidth + (r - a.offsetWidth * o) / 2,
                                p = (o - 1) / 2 * a.offsetHeight + (l - a.offsetHeight * o) / 2;
                                s.afterX = c,
                                s.afterY = p,
                                s.scale = o,
                                this.data.appearEffect = s
                            } else this.data.appear = !0
                        }
                    },
                    {
                        key: "hidePhoto",
                        value: function() {
                            var e = this,
                            t = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : "bottom";
                            this.data.hide = !0,
                            this.data.appear = !1,
                            this.data.appearEffect = null,
                            this.data.hideUi = !1,
                            this.data.scale = !1,
                            this.data.scaleSize = 1;
                            var a = void 0 !== window.pageXOffset ? window.pageXOffset: (document.documentElement || document.body.parentNode || document.body).scrollLeft,
                            i = void 0 !== window.pageYOffset ? window.pageYOffset: (document.documentElement || document.body.parentNode || document.body).scrollTop,
                            s = document.querySelector("body");
                            window.location.hash && this._setHash(""),
                            window.scroll(a, i),
                            this._doHideEffect(t).then((function() {
                                e.update(),
                                s.style.overflow = "",
                                e._fireEvent("close")
                            }))
                        }
                    },
                    {
                        key: "_doHideEffect",
                        value: function(e) {
                            var t = this;
                            return new l((function(a) {
                                n.isOldIE() && a();
                                var i = t.data.classNames,
                                s = t._getElementByClass(i.smartPhoto),
                                o = t._getElementByQuery(".current ." + i.smartPhotoImg),
                                r = t._getWindowHeight();
                                s.style.opacity = 0,
                                "bottom" === e ? o.style.transform = "translateY(" + r + "px)": "top" === e && (o.style.transform = "translateY(-" + r + "px)"),
                                s.addEventListener("transitionend", (function e() {
                                    s.removeEventListener("transitionend", e, !0),
                                    a()
                                }), !0)
                            }))
                        }
                    },
                    {
                        key: "_getElementByClass",
                        value: function(e) {
                            return document.querySelector('[data-id="' + this.id + '"] .' + e)
                        }
                    },
                    {
                        key: "_getElementByQuery",
                        value: function(e) {
                            return document.querySelector('[data-id="' + this.id + '"] ' + e)
                        }
                    },
                    {
                        key: "_getTouchPos",
                        value: function() {
                            var e = 0,
                            t = 0,
                            a = "undefined" == typeof event ? this.e: event;
                            return this._isTouched(a) ? (e = a.touches[0].pageX, t = a.touches[0].pageY) : a.pageX && (e = a.pageX, t = a.pageY),
                            {
                                x: e,
                                y: t
                            }
                        }
                    },
                    {
                        key: "_getGesturePos",
                        value: function(e) {
                            var t = e.touches;
                            return [{
                                x: t[0].pageX,
                                y: t[0].pageY
                            },
                            {
                                x: t[1].pageX,
                                y: t[1].pageY
                            }]
                        }
                    },
                    {
                        key: "_setPosByCurrentIndex",
                        value: function() {
                            var e = this,
                            t = -1 * this.groupItems()[this.data.currentIndex].translateX;
                            this.pos.x = t,
                            setTimeout((function() {
                                e.data.translateX = t,
                                e.data.translateY = 0,
                                e._listUpdate()
                            }), 1)
                        }
                    },
                    {
                        key: "_setHashByCurrentIndex",
                        value: function() {
                            var e = void 0 !== window.pageXOffset ? window.pageXOffset: (document.documentElement || document.body.parentNode || document.body).scrollLeft,
                            t = void 0 !== window.pageYOffset ? window.pageYOffset: (document.documentElement || document.body.parentNode || document.body).scrollTop,
                            a = this.groupItems()[this.data.currentIndex].id,
                            i = "group=" + this.data.currentGroup + "&photo=" + a;
                            this._setHash(i),
                            window.scroll(e, t)
                        }
                    },
                    {
                        key: "_setHash",
                        value: function(e) {
                            window.history && window.history.pushState && this.data.useHistoryApi && (e ? window.history.replaceState(null, null, "" + location.pathname + location.search + "#" + e) : window.history.replaceState(null, null, "" + location.pathname + location.search))
                        }
                    },
                    {
                        key: "_getCurrentItemByHash",
                        value: function() {
                            var e = this.data.group,
                            t = location.hash.substr(1),
                            a = n.parseQuery(t),
                            i = null,
                            s = function(e) {
                                a.group === e.groupId && a.photo === e.id && (i = e)
                            };
                            return Object.keys(e).forEach((function(t) {
                                e[t].forEach(s)
                            })),
                            i
                        }
                    },
                    {
                        key: "_loadItem",
                        value: function(e) {
                            return new l((function(t) {
                                var a = new Image;
                                a.onload = function() {
                                    e.width = a.width,
                                    e.height = a.height,
                                    e.loaded = !0,
                                    t()
                                },
                                a.onerror = function() {
                                    t()
                                },
                                a.src = e.src
                            }))
                        }
                    },
                    {
                        key: "_getItemByIndex",
                        value: function(e) {
                            var t = this.data;
                            return t.group[t.currentGroup][e] ? t.group[t.currentGroup][e] : null
                        }
                    },
                    {
                        key: "_loadNeighborItems",
                        value: function() {
                            for (var e = this,
                            t = this.data.currentIndex,
                            a = this.data.loadOffset,
                            i = t + a,
                            s = [], o = t - a; o < i; o++) {
                                var r = this._getItemByIndex(o);
                                r && !r.loaded && s.push(this._loadItem(r))
                            }
                            s.length && l.all(s).then((function() {
                                e._initPhoto(),
                                e.update()
                            }))
                        }
                    },
                    {
                        key: "_setSizeByScreen",
                        value: function() {
                            var e = this._getWindowWidth(),
                            t = this._getWindowHeight(),
                            a = this.data.headerHeight,
                            i = this.data.footerHeight,
                            s = t - (a + i);
                            this.groupItems().forEach((function(a) {
                                a.loaded && (a.processed = !0, a.scale = s / a.height, a.height < s && (a.scale = 1), a.x = (a.scale - 1) / 2 * a.width + (e - a.width * a.scale) / 2, a.y = (a.scale - 1) / 2 * a.height + (t - a.height * a.scale) / 2, a.width * a.scale > e && (a.scale = e / a.width, a.x = (a.scale - 1) / 2 * a.width))
                            }))
                        }
                    },
                    {
                        key: "_slideList",
                        value: function() {
                            var e = this;
                            this.data.scaleSize = 1,
                            this.isBeingZoomed = !1,
                            this.data.hideUi = !1,
                            this.data.scale = !1,
                            this.data.photoPosX = 0,
                            this.data.photoPosY = 0,
                            this.data.onMoveClass = !0,
                            this._setPosByCurrentIndex(),
                            this._setHashByCurrentIndex(),
                            this._setSizeByScreen(),
                            setTimeout((function() {
                                var t = e._getSelectedItem();
                                e.data.onMoveClass = !1,
                                e.setArrow(),
                                e.update(),
                                e.data.oldIndex !== e.data.currentIndex && e._fireEvent("change"),
                                e.data.oldIndex = e.data.currentIndex,
                                e._loadNeighborItems(),
                                t.loaded || e._loadItem(t).then((function() {
                                    e._initPhoto(),
                                    e.update()
                                }))
                            }), 200)
                        }
                    },
                    {
                        key: "gotoSlide",
                        value: function(e) {
                            this.e && this.e.preventDefault && this.e.preventDefault(),
                            this.data.currentIndex = parseInt(e, 10),
                            this.data.currentIndex || (this.data.currentIndex = 0),
                            this._slideList()
                        }
                    },
                    {
                        key: "setArrow",
                        value: function() {
                            var e = this.groupItems().length,
                            t = this.data.currentIndex + 1,
                            a = this.data.currentIndex - 1;
                            this.data.showNextArrow = !1,
                            this.data.showPrevArrow = !1,
                            t !== e && (this.data.next = t, this.data.showNextArrow = !0),
                            -1 !== a && (this.data.prev = a, this.data.showPrevArrow = !0)
                        }
                    },
                    {
                        key: "beforeDrag",
                        value: function() {
                            if (this._isGestured(this.e)) this.beforeGesture();
                            else if (this.isBeingZoomed = !1, this.data.scale) this.beforePhotoDrag();
                            else {
                                var e = this._getTouchPos();
                                this.isSwipable = !0,
                                this.dragStart = !0,
                                this.firstPos = e,
                                this.oldPos = e
                            }
                        }
                    },
                    {
                        key: "afterDrag",
                        value: function() {
                            var e = this.groupItems(),
                            t = (new Date).getTime(),
                            a = this.tapSecond - t,
                            i = 0,
                            s = 0;
                            return this.isSwipable = !1,
                            this.onListMove = !1,
                            this.oldPos && (i = this.oldPos.x - this.firstPos.x, s = this.oldPos.y - this.firstPos.y),
                            this.isBeingZoomed ? void this.afterGesture() : this.data.scale ? void this.afterPhotoDrag() : n.isSmartPhone() || 0 !== i || 0 !== s ? Math.abs(a) <= 500 && 0 === i && 0 === s ? (this.e.preventDefault(), void this.zoomPhoto()) : (this.tapSecond = t, this._fireEvent("swipeend"), "horizontal" === this.moveDir && (i >= this.data.swipeOffset && 0 !== this.data.currentIndex ? this.data.currentIndex -= 1 : i <= -this.data.swipeOffset && this.data.currentIndex !== e.length - 1 && (this.data.currentIndex += 1), this._slideList()), void("vertical" === this.moveDir && (this.data.swipeBottomToClose && s >= this.data.swipeOffset ? this.hidePhoto("bottom") : this.data.swipeTopToClose && s <= -this.data.swipeOffset ? this.hidePhoto("top") : (this.data.translateY = 0, this._slideList())))) : void this.zoomPhoto()
                        }
                    },
                    {
                        key: "onDrag",
                        value: function() {
                            if (this.e.preventDefault(), this._isGestured(this.e) && !1 === this.onListMove) this.onGesture();
                            else if (!this.isBeingZoomed) {
                                if (this.data.scale) return void this.onPhotoDrag();
                                if (this.isSwipable) {
                                    var e = this._getTouchPos(),
                                    t = e.x - this.oldPos.x,
                                    a = e.y - this.firstPos.y;
                                    this.dragStart && (this._fireEvent("swipestart"), this.dragStart = !1, Math.abs(t) > Math.abs(a) ? this.moveDir = "horizontal": this.moveDir = "vertical"),
                                    "horizontal" === this.moveDir ? (this.pos.x += t, this.data.translateX = this.pos.x) : this.data.translateY = a,
                                    this.onListMove = !0,
                                    this.oldPos = e,
                                    this._listUpdate()
                                }
                            }
                        }
                    },
                    {
                        key: "zoomPhoto",
                        value: function() {
                            var e = this;
                            this.data.hideUi = !0,
                            this.data.scaleSize = this._getScaleBoarder(),
                            this.data.scaleSize <= 1 || (this.data.photoPosX = 0, this.data.photoPosY = 0, this._photoUpdate(), setTimeout((function() {
                                e.data.scale = !0,
                                e._photoUpdate(),
                                e._fireEvent("zoomin")
                            }), 300))
                        }
                    },
                    {
                        key: "zoomOutPhoto",
                        value: function() {
                            this.data.scaleSize = 1,
                            this.isBeingZoomed = !1,
                            this.data.hideUi = !1,
                            this.data.scale = !1,
                            this.data.photoPosX = 0,
                            this.data.photoPosY = 0,
                            this._photoUpdate(),
                            this._fireEvent("zoomout")
                        }
                    },
                    {
                        key: "beforePhotoDrag",
                        value: function() {
                            var e = this._getTouchPos();
                            this.photoSwipable = !0,
                            this.data.photoPosX || (this.data.photoPosX = 0),
                            this.data.photoPosY || (this.data.photoPosY = 0),
                            this.oldPhotoPos = e,
                            this.firstPhotoPos = e
                        }
                    },
                    {
                        key: "onPhotoDrag",
                        value: function() {
                            if (this.photoSwipable) {
                                this.e.preventDefault();
                                var e = this._getTouchPos(),
                                t = e.x - this.oldPhotoPos.x,
                                a = e.y - this.oldPhotoPos.y,
                                i = this._round(this.data.scaleSize * t, 6),
                                s = this._round(this.data.scaleSize * a, 6);
                                "number" == typeof i && (this.data.photoPosX += i, this.photoVX = i),
                                "number" == typeof s && (this.data.photoPosY += s, this.photoVY = s),
                                this.oldPhotoPos = e,
                                this._photoUpdate()
                            }
                        }
                    },
                    {
                        key: "afterPhotoDrag",
                        value: function() {
                            if (this.oldPhotoPos.x === this.firstPhotoPos.x && this.photoSwipable) this.photoSwipable = !1,
                            this.zoomOutPhoto();
                            else {
                                this.photoSwipable = !1;
                                var e = this._getSelectedItem(),
                                t = this._makeBound(e),
                                a = this.data.swipeOffset * this.data.scaleSize,
                                i = 0,
                                s = 0;
                                if (this.data.photoPosX > t.maxX ? i = -1 : this.data.photoPosX < t.minX && (i = 1), this.data.photoPosY > t.maxY ? s = -1 : this.data.photoPosY < t.minY && (s = 1), this.data.photoPosX - t.maxX > a && 0 !== this.data.currentIndex) return void this.gotoSlide(this.data.prev);
                                if (t.minX - this.data.photoPosX > a && this.data.currentIndex + 1 !== this.data.total) return void this.gotoSlide(this.data.next);
                                0 === i && 0 === s ? (this.vx = this.photoVX / 5, this.vy = this.photoVY / 5) : this._registerElasticForce(i, s)
                            }
                        }
                    },
                    {
                        key: "beforeGesture",
                        value: function() {
                            this._fireEvent("gesturestart");
                            var e = this._getGesturePos(this.e),
                            t = this._getDistance(e[0], e[1]);
                            this.isBeingZoomed = !0,
                            this.oldDistance = t,
                            this.data.scale = !0,
                            this.e.preventDefault()
                        }
                    },
                    {
                        key: "onGesture",
                        value: function() {
                            var e = this._getGesturePos(this.e),
                            t = this._getDistance(e[0], e[1]),
                            a = (t - this.oldDistance) / 100,
                            i = this.data.scaleSize,
                            s = this.data.photoPosX,
                            o = this.data.photoPosY;
                            this.isBeingZoomed = !0,
                            this.data.scaleSize += this._round(a, 6),
                            this.data.scaleSize < .2 && (this.data.scaleSize = .2),
                            this.data.scaleSize < i && (this.data.photoPosX = (1 + this.data.scaleSize - i) * s, this.data.photoPosY = (1 + this.data.scaleSize - i) * o),
                            this.data.scaleSize < 1 || this.data.scaleSize > this._getScaleBoarder() ? this.data.hideUi = !0 : this.data.hideUi = !1,
                            this.oldDistance = t,
                            this.e.preventDefault(),
                            this._photoUpdate()
                        }
                    },
                    {
                        key: "afterGesture",
                        value: function() {
                            this.data.scaleSize > this._getScaleBoarder() || (this.data.photoPosX = 0, this.data.photoPosY = 0, this.data.scale = !1, this.data.scaleSize = 1, this.data.hideUi = !1, this._fireEvent("gestureend"), this._photoUpdate())
                        }
                    },
                    {
                        key: "_getForceAndTheta",
                        value: function(e, t) {
                            return {
                                force: Math.sqrt(e * e + t * t),
                                theta: Math.atan2(t, e)
                            }
                        }
                    },
                    {
                        key: "_getScaleBoarder",
                        value: function() {
                            var e = this._getSelectedItem(),
                            t = this._getWindowWidth(),
                            a = this._getWindowHeight();
                            return n.isSmartPhone() ? e.width > e.height ? a / (e.height * e.scale) : t / (e.width * e.scale) : 1 / e.scale
                        }
                    },
                    {
                        key: "_makeBound",
                        value: function(e) {
                            var t = e.width * e.scale * this.data.scaleSize,
                            a = e.height * e.scale * this.data.scaleSize,
                            i = void 0,
                            s = void 0,
                            o = void 0,
                            r = void 0,
                            n = this._getWindowWidth(),
                            l = this._getWindowHeight();
                            return n > t ? i = -1 * (o = (n - t) / 2) : i = -1 * (o = (t - n) / 2),
                            l > a ? s = -1 * (r = (l - a) / 2) : s = -1 * (r = (a - l) / 2),
                            {
                                minX: this._round(i, 6) * this.data.scaleSize,
                                minY: this._round(s, 6) * this.data.scaleSize,
                                maxX: this._round(o, 6) * this.data.scaleSize,
                                maxY: this._round(r, 6) * this.data.scaleSize
                            }
                        }
                    },
                    {
                        key: "_registerElasticForce",
                        value: function(e, t) {
                            var a = this,
                            i = this._getSelectedItem(),
                            s = this._makeBound(i);
                            this.data.elastic = !0,
                            1 === e ? this.data.photoPosX = s.minX: -1 === e && (this.data.photoPosX = s.maxX),
                            1 === t ? this.data.photoPosY = s.minY: -1 === t && (this.data.photoPosY = s.maxY),
                            this._photoUpdate(),
                            setTimeout((function() {
                                a.data.elastic = !1,
                                a._photoUpdate()
                            }), 300)
                        }
                    },
                    {
                        key: "_getSelectedItem",
                        value: function() {
                            var e = this.data,
                            t = e.currentIndex;
                            return e.group[e.currentGroup][t]
                        }
                    },
                    {
                        key: "_getUniqId",
                        value: function() {
                            return (Date.now().toString(36) + Math.random().toString(36).substr(2, 5)).toUpperCase()
                        }
                    },
                    {
                        key: "_getDistance",
                        value: function(e, t) {
                            var a = e.x - t.x,
                            i = e.y - t.y;
                            return Math.sqrt(a * a + i * i)
                        }
                    },
                    {
                        key: "_round",
                        value: function(e, t) {
                            var a = Math.pow(10, t);
                            return e *= a,
                            (e = Math.round(e)) / a
                        }
                    },
                    {
                        key: "_isTouched",
                        value: function(e) {
                            return ! (!e || !e.touches)
                        }
                    },
                    {
                        key: "_isGestured",
                        value: function(e) {
                            return !! (e && e.touches && e.touches.length > 1)
                        }
                    },
                    {
                        key: "_isSmartPhone",
                        value: function() {
                            var e = navigator.userAgent;
                            return e.indexOf("iPhone") > 0 || e.indexOf("iPad") > 0 || e.indexOf("ipod") > 0 || e.indexOf("Android") > 0
                        }
                    },
                    {
                        key: "_calcGravity",
                        value: function(e, t) { (e > 5 || e < -5) && (this.vx += .05 * e),
                            !1 !== this.data.verticalGravity && (t > 5 || t < -5) && (this.vy += .05 * t)
                        }
                    },
                    {
                        key: "_photoUpdate",
                        value: function() {
                            var e = this.data.classNames,
                            t = this._getElementByQuery(".current").querySelector("." + e.smartPhotoImg),
                            a = this._getElementByQuery("." + e.smartPhotoNav),
                            i = this._getElementByQuery("." + e.smartPhotoArrows),
                            s = "translate(" + this.virtualPos(this.data.photoPosX) + "px," + this.virtualPos(this.data.photoPosY) + "px) scale(" + this.data.scaleSize + ")";
                            t.style.transform = s,
                            this.data.scale ? n.addClass(t, e.smartPhotoImgOnMove) : n.removeClass(t, e.smartPhotoImgOnMove),
                            this.data.elastic ? n.addClass(t, e.smartPhotoImgElasticMove) : n.removeClass(t, e.smartPhotoImgElasticMove),
                            this.data.hideUi ? (a && a.setAttribute("aria-hidden", "true"), i && i.setAttribute("aria-hidden", "true")) : (a && a.setAttribute("aria-hidden", "false"), i && i.setAttribute("aria-hidden", "false"))
                        }
                    },
                    {
                        key: "_getWindowWidth",
                        value: function() {
                            return document && document.documentElement ? document.documentElement.clientWidth: window && window.innerWidth ? window.innerWidth: 0
                        }
                    },
                    {
                        key: "_getWindowHeight",
                        value: function() {
                            return document && document.documentElement ? document.documentElement.clientHeight: window && window.innerHeight ? window.innerHeight: 0
                        }
                    },
                    {
                        key: "_listUpdate",
                        value: function() {
                            var e = this.data.classNames,
                            t = this._getElementByQuery("." + e.smartPhotoList),
                            a = "translate(" + this.data.translateX + "px," + this.data.translateY + "px)";
                            t.style.transform = a,
                            this.data.onMoveClass ? n.addClass(t, e.smartPhotoListOnMove) : n.removeClass(t, e.smartPhotoListOnMove)
                        }
                    },
                    {
                        key: "_fireEvent",
                        value: function(e) {
                            var t = this._getElementByClass(this.data.classNames.smartPhoto);
                            n.triggerEvent(t, e)
                        }
                    },
                    {
                        key: "_doAnim",
                        value: function() {
                            if (! (this.isBeingZoomed || this.isSwipable || this.photoSwipable || this.data.elastic) && this.data.scale) {
                                this.data.photoPosX += this.vx,
                                this.data.photoPosY += this.vy;
                                var e = this._getSelectedItem(),
                                t = this._makeBound(e);
                                this.data.photoPosX < t.minX ? (this.data.photoPosX = t.minX, this.vx *= -.2) : this.data.photoPosX > t.maxX && (this.data.photoPosX = t.maxX, this.vx *= -.2),
                                this.data.photoPosY < t.minY ? (this.data.photoPosY = t.minY, this.vy *= -.2) : this.data.photoPosY > t.maxY && (this.data.photoPosY = t.maxY, this.vy *= -.2);
                                var a = this._getForceAndTheta(this.vx, this.vy),
                                i = a.force,
                                s = a.theta;
                                i -= this.data.registance,
                                Math.abs(i) < .5 || (this.vx = Math.cos(s) * i, this.vy = Math.sin(s) * i, this._photoUpdate())
                            }
                        }
                    }]),
                    t
                } (r.
            default);
                a.
            default = c,
                t.exports = a.
            default
            },
            {
                "../lib/util": 12,
                "a-template": 1,
                "custom-event-polyfill": 3,
                "es6-promise-polyfill": 4
            }],
            11 : [function(e, t, a) {
                t.exports = e("./core/")
            },
            {
                "./core/": 10
            }],
            12 : [function(e, t, a) {
                Object.defineProperty(a, "__esModule", {
                    value: !0
                });
                var s = "function" == typeof Symbol && "symbol" == i(Symbol.iterator) ?
                function(e) {
                    return i(e)
                }: function(e) {
                    return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol": i(e)
                },
                o = (a.isSmartPhone = function() {
                    var e = navigator.userAgent;
                    return e.indexOf("iPhone") > 0 || e.indexOf("iPad") > 0 || e.indexOf("ipod") > 0 || e.indexOf("Android") > 0
                },
                a.extend = function e(t) {
                    t = t || {};
                    for (var a = 1; a < arguments.length; a++) {
                        var i = arguments[a];
                        if (i) for (var o in i) i.hasOwnProperty(o) && ("object" === s(i[o]) ? t[o] = e(t[o], i[o]) : t[o] = i[o])
                    }
                    return t
                },
                a.triggerEvent = function(e, t, a) {
                    var i = void 0;
                    window.CustomEvent ? i = new CustomEvent(t, {
                        cancelable: !0
                    }) : (i = document.createEvent("CustomEvent")).initCustomEvent(t, !1, !1, a),
                    e.dispatchEvent(i)
                },
                a.parseQuery = function(e) {
                    for (var t, a, i, s = e.split("&"), o = {},
                    r = 0, n = s.length; r < n; r++) void 0 !== (t = s[r].split("="))[0] && (a = t[0], i = void 0 !== t[1] ? t.slice(1).join("=") : a, o[a] = decodeURIComponent(i));
                    return o
                },
                a.getViewPos = function(e) {
                    return {
                        left: e.getBoundingClientRect().left,
                        top: e.getBoundingClientRect().top
                    }
                },
                a.removeElement = function(e) {
                    e && e.parentNode && e.parentNode.removeChild(e)
                },
                a.append = function(e, t) {
                    var a = document.createElement("div");
                    for (a.innerHTML = t; a.children.length > 0;) e.appendChild(a.children[0])
                },
                a.addClass = function(e, t) {
                    e.classList ? e.classList.add(t) : e.className += " " + t
                },
                a.removeClass = function(e, t) {
                    e.classList ? e.classList.remove(t) : e.className = e.className.replace(new RegExp("(^|\\b)" + t.split(" ").join("|") + "(\\b|$)", "gi"), " ")
                },
                a.getBrowser = function() {
                    var e = window.navigator.userAgent.toLowerCase(),
                    t = window.navigator.appVersion.toLowerCase(),
                    a = "unknown";
                    return - 1 != e.indexOf("msie") ? a = -1 != t.indexOf("msie 6.") ? "ie6": -1 != t.indexOf("msie 7.") ? "ie7": -1 != t.indexOf("msie 8.") ? "ie8": -1 != t.indexOf("msie 9.") ? "ie9": -1 != t.indexOf("msie 10.") ? "ie10": "ie": -1 != e.indexOf("trident/7") ? a = "ie11": -1 != e.indexOf("chrome") ? a = "chrome": -1 != e.indexOf("safari") ? a = "safari": -1 != e.indexOf("opera") ? a = "opera": -1 != e.indexOf("firefox") && (a = "firefox"),
                    a
                });
                a.isOldIE = function() {
                    var e = o();
                    return - 1 !== e.indexOf("ie") && parseInt(e.replace(/[^0-9]/g, "")) <= 10
                }
            },
            {}]
        },
        {},
        [9])
    },
    {}],
    10 : [function(e, t, a) {
        "use strict";
        /*!
 * Lazy Load - jQuery plugin for lazy loading images
 *
 * Copyright (c) 2007-2015 Mika Tuupola
 *
 * Licensed under the MIT license:
 *   http://www.opensource.org/licenses/mit-license.php
 *
 * Project home:
 *   http://www.appelsiini.net/projects/lazyload
 *
 * Version:  1.9.7
 *
 */
        !
        function(e, t, a, i) {
            var s = e(t);
            var o = function() {
                try {
                    return 0 === a.createElement("canvas").toDataURL("image/webp").indexOf("data:image/webp")
                } catch(e) {
                    return ! 1
                }
            } ();
            e.fn.lazyload = function(r) {
                var n, l = this,
                d = {
                    threshold: 0,
                    failure_limit: 500,
                    event: "scroll",
                    effect: "show",
                    container: t,
                    data_attribute: "original",
                    skip_invisible: !1,
                    appear: null,
                    load: null,
                    webp: null,
                    placeholder: ""
                };
                function c() {
                    var t = 0;
                    l.each((function() {
                        var a = e(this);
                        if (!d.skip_invisible || a.is(":visible")) if (e.abovethetop(this, d) || e.leftofbegin(this, d));
                        else if (e.belowthefold(this, d) || e.rightoffold(this, d)) {
                            if (++t > d.failure_limit) return ! 1
                        } else a.trigger("appear"),
                        t = 0
                    }))
                }
                return r && (i !== r.failurelimit && (r.failure_limit = r.failurelimit, delete r.failurelimit), i !== r.effectspeed && (r.effect_speed = r.effectspeed, delete r.effectspeed), e.extend(d, r)),
                n = d.container === i || d.container === t ? s: e(d.container),
                0 === d.event.indexOf("scroll") && n.on(d.event, (function() {
                    return c()
                })),
                this.each((function() {
                    var t = this,
                    a = e(t);
                    t.loaded = !1,
                    a.attr("src") !== i && !1 !== a.attr("src") || a.is("img") && a.attr("src", d.placeholder),
                    a.one("appear", (function() {
                        if (!this.loaded) {
                            if (d.appear) {
                                var i = l.length;
                                d.appear.call(t, i, d)
                            }
                            var s = a.attr("data-" + d.data_attribute);
                            s && o && d.webp && ((c = s) && c.split("?").length > 1 ? c.match(/([&?]+)x-oss-process=/i) ? c = c.replace(/([&?]+)x-oss-process=/i, "$1x-oss-process=image/format,webp,") : c.match(/([&?]+)imageMogr2/i) ? c = c.replace(/([&?]+)imageMogr2\//i, "$1imageMogr2/format/webp/") : c += d.webp.replace("?", "&") : c && (c += d.webp), s = c);
                            var r = a.attr("data-srcset"),
                            n = a.css("display");
                            s && e("<img />").one("load", (function() {
                                a.hide(),
                                a.is("img") ? (r && a.attr("srcset", r), a.attr("src", s), a.hasClass("fluidbox__thumb") && setTimeout((function() {
                                    a.closest("a.fluidbox").fluidbox("reposition")
                                }), 200)) : a.css("background-image", "url('" + s + "')"),
                                a[d.effect](d.effect_speed).css("display", n),
                                t.loaded = !0;
                                var i = e.grep(l, (function(e) {
                                    return ! e.loaded
                                }));
                                if (l = e(i), d.load) {
                                    var o = l.length;
                                    d.load.call(t, o, d)
                                }
                                a.trigger("DOMSubtreeModified")
                            })).attr("src", s)
                        }
                        var c
                    })), 0 !== d.event.indexOf("scroll") && a.on(d.event, (function() {
                        t.loaded || a.trigger("appear")
                    }))
                })),
                s.on("resize", (function() {
                    c()
                })),
                /(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion) && s.on("pageshow", (function(t) {
                    t.originalEvent && t.originalEvent.persisted && l.each((function() {
                        e(this).trigger("appear")
                    }))
                })),
                e(a).ready((function() {
                    c()
                })),
                this
            },
            e.belowthefold = function(a, o) {
                return (o.container === i || o.container === t ? (t.innerHeight ? t.innerHeight: s.height()) + s.scrollTop() : e(o.container).offset().top + e(o.container).height()) <= e(a).offset().top - o.threshold
            },
            e.rightoffold = function(a, o) {
                return (o.container === i || o.container === t ? s.width() + s.scrollLeft() : e(o.container).offset().left + e(o.container).width()) <= e(a).offset().left - o.threshold
            },
            e.abovethetop = function(a, o) {
                return (o.container === i || o.container === t ? s.scrollTop() : e(o.container).offset().top) >= e(a).offset().top + o.threshold + e(a).height()
            },
            e.leftofbegin = function(a, o) {
                return (o.container === i || o.container === t ? s.scrollLeft() : e(o.container).offset().left) >= e(a).offset().left + o.threshold + e(a).width()
            },
            e.inviewport = function(t, a) {
                return ! (e.rightoffold(t, a) || e.leftofbegin(t, a) || e.belowthefold(t, a) || e.abovethetop(t, a))
            },
            e.extend(e.expr[":"], {
                "below-the-fold": function(t) {
                    return e.belowthefold(t, {
                        threshold: 0
                    })
                },
                "above-the-top": function(t) {
                    return ! e.belowthefold(t, {
                        threshold: 0
                    })
                },
                "right-of-screen": function(t) {
                    return e.rightoffold(t, {
                        threshold: 0
                    })
                },
                "left-of-screen": function(t) {
                    return ! e.rightoffold(t, {
                        threshold: 0
                    })
                },
                "in-viewport": function(t) {
                    return e.inviewport(t, {
                        threshold: 0
                    })
                },
                "above-the-fold": function(t) {
                    return ! e.belowthefold(t, {
                        threshold: 0
                    })
                },
                "right-of-fold": function(t) {
                    return e.rightoffold(t, {
                        threshold: 0
                    })
                },
                "left-of-fold": function(t) {
                    return ! e.rightoffold(t, {
                        threshold: 0
                    })
                }
            })
        } (jQuery, window, document)
    },
    {}],
    11 : [function(e, t, a) {
        "use strict";
        var i; (i = jQuery).fn.qrcode = function(e) {
            var t;
            function a(e) {
                this.mode = t,
                this.data = e
            }
            function s(e, t) {
                this.typeNumber = e,
                this.errorCorrectLevel = t,
                this.modules = null,
                this.moduleCount = 0,
                this.dataCache = null,
                this.dataList = []
            }
            function o(e, t) {
                if (null == e.length) throw Error(e.length + "/" + t);
                for (var a = 0; a < e.length && 0 == e[a];) a++;
                this.num = Array(e.length - a + t);
                for (var i = 0; i < e.length - a; i++) this.num[i] = e[i + a]
            }
            function r(e, t) {
                this.totalCount = e,
                this.dataCount = t
            }
            function n() {
                this.buffer = [],
                this.length = 0
            }
            a.prototype = {
                getLength: function() {
                    return this.data.length
                },
                write: function(e) {
                    for (var t = 0; t < this.data.length; t++) e.put(this.data.charCodeAt(t), 8)
                }
            },
            s.prototype = {
                addData: function(e) {
                    this.dataList.push(new a(e)),
                    this.dataCache = null
                },
                isDark: function(e, t) {
                    if (0 > e || this.moduleCount <= e || 0 > t || this.moduleCount <= t) throw Error(e + "," + t);
                    return this.modules[e][t]
                },
                getModuleCount: function() {
                    return this.moduleCount
                },
                make: function() {
                    if (1 > this.typeNumber) {
                        var e = 1;
                        for (e = 1; 40 > e; e++) {
                            for (var t = r.getRSBlocks(e, this.errorCorrectLevel), a = new n, i = 0, s = 0; s < t.length; s++) i += t[s].dataCount;
                            for (s = 0; s < this.dataList.length; s++) t = this.dataList[s],
                            a.put(t.mode, 4),
                            a.put(t.getLength(), l.getLengthInBits(t.mode, e)),
                            t.write(a);
                            if (a.getLengthInBits() <= 8 * i) break
                        }
                        this.typeNumber = e
                    }
                    this.makeImpl(!1, this.getBestMaskPattern())
                },
                makeImpl: function(e, t) {
                    this.moduleCount = 4 * this.typeNumber + 17,
                    this.modules = Array(this.moduleCount);
                    for (var a = 0; a < this.moduleCount; a++) {
                        this.modules[a] = Array(this.moduleCount);
                        for (var i = 0; i < this.moduleCount; i++) this.modules[a][i] = null
                    }
                    this.setupPositionProbePattern(0, 0),
                    this.setupPositionProbePattern(this.moduleCount - 7, 0),
                    this.setupPositionProbePattern(0, this.moduleCount - 7),
                    this.setupPositionAdjustPattern(),
                    this.setupTimingPattern(),
                    this.setupTypeInfo(e, t),
                    7 <= this.typeNumber && this.setupTypeNumber(e),
                    null == this.dataCache && (this.dataCache = s.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)),
                    this.mapData(this.dataCache, t)
                },
                setupPositionProbePattern: function(e, t) {
                    for (var a = -1; 7 >= a; a++) if (! ( - 1 >= e + a || this.moduleCount <= e + a)) for (var i = -1; 7 >= i; i++) - 1 >= t + i || this.moduleCount <= t + i || (this.modules[e + a][t + i] = 0 <= a && 6 >= a && (0 == i || 6 == i) || 0 <= i && 6 >= i && (0 == a || 6 == a) || 2 <= a && 4 >= a && 2 <= i && 4 >= i)
                },
                getBestMaskPattern: function() {
                    for (var e = 0,
                    t = 0,
                    a = 0; 8 > a; a++) {
                        this.makeImpl(!0, a);
                        var i = l.getLostPoint(this); (0 == a || e > i) && (e = i, t = a)
                    }
                    return t
                },
                createMovieClip: function(e, t, a) {
                    for (e = e.createEmptyMovieClip(t, a), this.make(), t = 0; t < this.modules.length; t++) {
                        a = 1 * t;
                        for (var i = 0; i < this.modules[t].length; i++) {
                            var s = 1 * i;
                            this.modules[t][i] && (e.beginFill(0, 100), e.moveTo(s, a), e.lineTo(s + 1, a), e.lineTo(s + 1, a + 1), e.lineTo(s, a + 1), e.endFill())
                        }
                    }
                    return e
                },
                setupTimingPattern: function() {
                    for (var e = 8; e < this.moduleCount - 8; e++) null == this.modules[e][6] && (this.modules[e][6] = 0 == e % 2);
                    for (e = 8; e < this.moduleCount - 8; e++) null == this.modules[6][e] && (this.modules[6][e] = 0 == e % 2)
                },
                setupPositionAdjustPattern: function() {
                    for (var e = l.getPatternPosition(this.typeNumber), t = 0; t < e.length; t++) for (var a = 0; a < e.length; a++) {
                        var i = e[t],
                        s = e[a];
                        if (null == this.modules[i][s]) for (var o = -2; 2 >= o; o++) for (var r = -2; 2 >= r; r++) this.modules[i + o][s + r] = -2 == o || 2 == o || -2 == r || 2 == r || 0 == o && 0 == r
                    }
                },
                setupTypeNumber: function(e) {
                    for (var t = l.getBCHTypeNumber(this.typeNumber), a = 0; 18 > a; a++) {
                        var i = !e && 1 == (t >> a & 1);
                        this.modules[Math.floor(a / 3)][a % 3 + this.moduleCount - 8 - 3] = i
                    }
                    for (a = 0; 18 > a; a++) i = !e && 1 == (t >> a & 1),
                    this.modules[a % 3 + this.moduleCount - 8 - 3][Math.floor(a / 3)] = i
                },
                setupTypeInfo: function(e, t) {
                    for (var a = l.getBCHTypeInfo(this.errorCorrectLevel << 3 | t), i = 0; 15 > i; i++) {
                        var s = !e && 1 == (a >> i & 1);
                        6 > i ? this.modules[i][8] = s: 8 > i ? this.modules[i + 1][8] = s: this.modules[this.moduleCount - 15 + i][8] = s
                    }
                    for (i = 0; 15 > i; i++) s = !e && 1 == (a >> i & 1),
                    8 > i ? this.modules[8][this.moduleCount - i - 1] = s: 9 > i ? this.modules[8][15 - i - 1 + 1] = s: this.modules[8][15 - i - 1] = s;
                    this.modules[this.moduleCount - 8][8] = !e
                },
                mapData: function(e, t) {
                    for (var a = -1,
                    i = this.moduleCount - 1,
                    s = 7,
                    o = 0,
                    r = this.moduleCount - 1; 0 < r; r -= 2) for (6 == r && r--;;) {
                        for (var n = 0; 2 > n; n++) if (null == this.modules[i][r - n]) {
                            var d = !1;
                            o < e.length && (d = 1 == (e[o] >>> s & 1)),
                            l.getMask(t, i, r - n) && (d = !d),
                            this.modules[i][r - n] = d,
                            -1 == --s && (o++, s = 7)
                        }
                        if (0 > (i += a) || this.moduleCount <= i) {
                            i -= a,
                            a = -a;
                            break
                        }
                    }
                }
            },
            s.PAD0 = 236,
            s.PAD1 = 17,
            s.createData = function(e, t, a) {
                t = r.getRSBlocks(e, t);
                for (var i = new n,
                o = 0; o < a.length; o++) {
                    var d = a[o];
                    i.put(d.mode, 4),
                    i.put(d.getLength(), l.getLengthInBits(d.mode, e)),
                    d.write(i)
                }
                for (o = e = 0; o < t.length; o++) e += t[o].dataCount;
                if (i.getLengthInBits() > 8 * e) throw Error("code length overflow. (" + i.getLengthInBits() + ">" + 8 * e + ")");
                for (i.getLengthInBits() + 4 <= 8 * e && i.put(0, 4); 0 != i.getLengthInBits() % 8;) i.putBit(!1);
                for (; ! (i.getLengthInBits() >= 8 * e || (i.put(s.PAD0, 8), i.getLengthInBits() >= 8 * e));) i.put(s.PAD1, 8);
                return s.createBytes(i, t)
            },
            s.createBytes = function(e, t) {
                for (var a = 0,
                i = 0,
                s = 0,
                r = Array(t.length), n = Array(t.length), d = 0; d < t.length; d++) {
                    var c = t[d].dataCount,
                    p = t[d].totalCount - c;
                    i = Math.max(i, c),
                    s = Math.max(s, p),
                    r[d] = Array(c);
                    for (var u = 0; u < r[d].length; u++) r[d][u] = 255 & e.buffer[u + a];
                    for (a += c, u = l.getErrorCorrectPolynomial(p), c = new o(r[d], u.getLength() - 1).mod(u), n[d] = Array(u.getLength() - 1), u = 0; u < n[d].length; u++) p = u + c.getLength() - n[d].length,
                    n[d][u] = 0 <= p ? c.get(p) : 0
                }
                for (u = d = 0; u < t.length; u++) d += t[u].totalCount;
                for (a = Array(d), u = c = 0; u < i; u++) for (d = 0; d < t.length; d++) u < r[d].length && (a[c++] = r[d][u]);
                for (u = 0; u < s; u++) for (d = 0; d < t.length; d++) u < n[d].length && (a[c++] = n[d][u]);
                return a
            },
            t = 4;
            for (var l = {
                PATTERN_POSITION_TABLE: [[], [6, 18], [6, 22], [6, 26], [6, 30], [6, 34], [6, 22, 38], [6, 24, 42], [6, 26, 46], [6, 28, 50], [6, 30, 54], [6, 32, 58], [6, 34, 62], [6, 26, 46, 66], [6, 26, 48, 70], [6, 26, 50, 74], [6, 30, 54, 78], [6, 30, 56, 82], [6, 30, 58, 86], [6, 34, 62, 90], [6, 28, 50, 72, 94], [6, 26, 50, 74, 98], [6, 30, 54, 78, 102], [6, 28, 54, 80, 106], [6, 32, 58, 84, 110], [6, 30, 58, 86, 114], [6, 34, 62, 90, 118], [6, 26, 50, 74, 98, 122], [6, 30, 54, 78, 102, 126], [6, 26, 52, 78, 104, 130], [6, 30, 56, 82, 108, 134], [6, 34, 60, 86, 112, 138], [6, 30, 58, 86, 114, 142], [6, 34, 62, 90, 118, 146], [6, 30, 54, 78, 102, 126, 150], [6, 24, 50, 76, 102, 128, 154], [6, 28, 54, 80, 106, 132, 158], [6, 32, 58, 84, 110, 136, 162], [6, 26, 54, 82, 110, 138, 166], [6, 30, 58, 86, 114, 142, 170]],
                G15: 1335,
                G18: 7973,
                G15_MASK: 21522,
                getBCHTypeInfo: function(e) {
                    for (var t = e << 10; 0 <= l.getBCHDigit(t) - l.getBCHDigit(l.G15);) t ^= l.G15 << l.getBCHDigit(t) - l.getBCHDigit(l.G15);
                    return (e << 10 | t) ^ l.G15_MASK
                },
                getBCHTypeNumber: function(e) {
                    for (var t = e << 12; 0 <= l.getBCHDigit(t) - l.getBCHDigit(l.G18);) t ^= l.G18 << l.getBCHDigit(t) - l.getBCHDigit(l.G18);
                    return e << 12 | t
                },
                getBCHDigit: function(e) {
                    for (var t = 0; 0 != e;) t++,
                    e >>>= 1;
                    return t
                },
                getPatternPosition: function(e) {
                    return l.PATTERN_POSITION_TABLE[e - 1]
                },
                getMask: function(e, t, a) {
                    switch (e) {
                    case 0:
                        return 0 == (t + a) % 2;
                    case 1:
                        return 0 == t % 2;
                    case 2:
                        return 0 == a % 3;
                    case 3:
                        return 0 == (t + a) % 3;
                    case 4:
                        return 0 == (Math.floor(t / 2) + Math.floor(a / 3)) % 2;
                    case 5:
                        return 0 == t * a % 2 + t * a % 3;
                    case 6:
                        return 0 == (t * a % 2 + t * a % 3) % 2;
                    case 7:
                        return 0 == (t * a % 3 + (t + a) % 2) % 2;
                    default:
                        throw Error("bad maskPattern:" + e)
                    }
                },
                getErrorCorrectPolynomial: function(e) {
                    for (var t = new o([1], 0), a = 0; a < e; a++) t = t.multiply(new o([1, d.gexp(a)], 0));
                    return t
                },
                getLengthInBits: function(e, a) {
                    if (1 <= a && 10 > a) switch (e) {
                    case 1:
                        return 10;
                    case 2:
                        return 9;
                    case t:
                    case 8:
                        return 8;
                    default:
                        throw Error("mode:" + e)
                    } else if (27 > a) switch (e) {
                    case 1:
                        return 12;
                    case 2:
                        return 11;
                    case t:
                        return 16;
                    case 8:
                        return 10;
                    default:
                        throw Error("mode:" + e)
                    } else {
                        if (! (41 > a)) throw Error("type:" + a);
                        switch (e) {
                        case 1:
                            return 14;
                        case 2:
                            return 13;
                        case t:
                            return 16;
                        case 8:
                            return 12;
                        default:
                            throw Error("mode:" + e)
                        }
                    }
                },
                getLostPoint: function(e) {
                    for (var t = e.getModuleCount(), a = 0, i = 0; i < t; i++) for (var s = 0; s < t; s++) {
                        for (var o = 0,
                        r = e.isDark(i, s), n = -1; 1 >= n; n++) if (! (0 > i + n || t <= i + n)) for (var l = -1; 1 >= l; l++) 0 > s + l || t <= s + l || 0 == n && 0 == l || r == e.isDark(i + n, s + l) && o++;
                        5 < o && (a += 3 + o - 5)
                    }
                    for (i = 0; i < t - 1; i++) for (s = 0; s < t - 1; s++) o = 0,
                    e.isDark(i, s) && o++,
                    e.isDark(i + 1, s) && o++,
                    e.isDark(i, s + 1) && o++,
                    e.isDark(i + 1, s + 1) && o++,
                    (0 == o || 4 == o) && (a += 3);
                    for (i = 0; i < t; i++) for (s = 0; s < t - 6; s++) e.isDark(i, s) && !e.isDark(i, s + 1) && e.isDark(i, s + 2) && e.isDark(i, s + 3) && e.isDark(i, s + 4) && !e.isDark(i, s + 5) && e.isDark(i, s + 6) && (a += 40);
                    for (s = 0; s < t; s++) for (i = 0; i < t - 6; i++) e.isDark(i, s) && !e.isDark(i + 1, s) && e.isDark(i + 2, s) && e.isDark(i + 3, s) && e.isDark(i + 4, s) && !e.isDark(i + 5, s) && e.isDark(i + 6, s) && (a += 40);
                    for (s = o = 0; s < t; s++) for (i = 0; i < t; i++) e.isDark(i, s) && o++;
                    return a + 10 * (e = Math.abs(100 * o / t / t - 50) / 5)
                }
            },
            d = {
                glog: function(e) {
                    if (1 > e) throw Error("glog(" + e + ")");
                    return d.LOG_TABLE[e]
                },
                gexp: function(e) {
                    for (; 0 > e;) e += 255;
                    for (; 256 <= e;) e -= 255;
                    return d.EXP_TABLE[e]
                },
                EXP_TABLE: Array(256),
                LOG_TABLE: Array(256)
            },
            c = 0; 8 > c; c++) d.EXP_TABLE[c] = 1 << c;
            for (c = 8; 256 > c; c++) d.EXP_TABLE[c] = d.EXP_TABLE[c - 4] ^ d.EXP_TABLE[c - 5] ^ d.EXP_TABLE[c - 6] ^ d.EXP_TABLE[c - 8];
            for (c = 0; 255 > c; c++) d.LOG_TABLE[d.EXP_TABLE[c]] = c;
            return o.prototype = {
                get: function(e) {
                    return this.num[e]
                },
                getLength: function() {
                    return this.num.length
                },
                multiply: function(e) {
                    for (var t = Array(this.getLength() + e.getLength() - 1), a = 0; a < this.getLength(); a++) for (var i = 0; i < e.getLength(); i++) t[a + i] ^= d.gexp(d.glog(this.get(a)) + d.glog(e.get(i)));
                    return new o(t, 0)
                },
                mod: function(e) {
                    if (0 > this.getLength() - e.getLength()) return this;
                    for (var t = d.glog(this.get(0)) - d.glog(e.get(0)), a = Array(this.getLength()), i = 0; i < this.getLength(); i++) a[i] = this.get(i);
                    for (i = 0; i < e.getLength(); i++) a[i] ^= d.gexp(d.glog(e.get(i)) + t);
                    return new o(a, 0).mod(e)
                }
            },
            r.RS_BLOCK_TABLE = [[1, 26, 19], [1, 26, 16], [1, 26, 13], [1, 26, 9], [1, 44, 34], [1, 44, 28], [1, 44, 22], [1, 44, 16], [1, 70, 55], [1, 70, 44], [2, 35, 17], [2, 35, 13], [1, 100, 80], [2, 50, 32], [2, 50, 24], [4, 25, 9], [1, 134, 108], [2, 67, 43], [2, 33, 15, 2, 34, 16], [2, 33, 11, 2, 34, 12], [2, 86, 68], [4, 43, 27], [4, 43, 19], [4, 43, 15], [2, 98, 78], [4, 49, 31], [2, 32, 14, 4, 33, 15], [4, 39, 13, 1, 40, 14], [2, 121, 97], [2, 60, 38, 2, 61, 39], [4, 40, 18, 2, 41, 19], [4, 40, 14, 2, 41, 15], [2, 146, 116], [3, 58, 36, 2, 59, 37], [4, 36, 16, 4, 37, 17], [4, 36, 12, 4, 37, 13], [2, 86, 68, 2, 87, 69], [4, 69, 43, 1, 70, 44], [6, 43, 19, 2, 44, 20], [6, 43, 15, 2, 44, 16], [4, 101, 81], [1, 80, 50, 4, 81, 51], [4, 50, 22, 4, 51, 23], [3, 36, 12, 8, 37, 13], [2, 116, 92, 2, 117, 93], [6, 58, 36, 2, 59, 37], [4, 46, 20, 6, 47, 21], [7, 42, 14, 4, 43, 15], [4, 133, 107], [8, 59, 37, 1, 60, 38], [8, 44, 20, 4, 45, 21], [12, 33, 11, 4, 34, 12], [3, 145, 115, 1, 146, 116], [4, 64, 40, 5, 65, 41], [11, 36, 16, 5, 37, 17], [11, 36, 12, 5, 37, 13], [5, 109, 87, 1, 110, 88], [5, 65, 41, 5, 66, 42], [5, 54, 24, 7, 55, 25], [11, 36, 12], [5, 122, 98, 1, 123, 99], [7, 73, 45, 3, 74, 46], [15, 43, 19, 2, 44, 20], [3, 45, 15, 13, 46, 16], [1, 135, 107, 5, 136, 108], [10, 74, 46, 1, 75, 47], [1, 50, 22, 15, 51, 23], [2, 42, 14, 17, 43, 15], [5, 150, 120, 1, 151, 121], [9, 69, 43, 4, 70, 44], [17, 50, 22, 1, 51, 23], [2, 42, 14, 19, 43, 15], [3, 141, 113, 4, 142, 114], [3, 70, 44, 11, 71, 45], [17, 47, 21, 4, 48, 22], [9, 39, 13, 16, 40, 14], [3, 135, 107, 5, 136, 108], [3, 67, 41, 13, 68, 42], [15, 54, 24, 5, 55, 25], [15, 43, 15, 10, 44, 16], [4, 144, 116, 4, 145, 117], [17, 68, 42], [17, 50, 22, 6, 51, 23], [19, 46, 16, 6, 47, 17], [2, 139, 111, 7, 140, 112], [17, 74, 46], [7, 54, 24, 16, 55, 25], [34, 37, 13], [4, 151, 121, 5, 152, 122], [4, 75, 47, 14, 76, 48], [11, 54, 24, 14, 55, 25], [16, 45, 15, 14, 46, 16], [6, 147, 117, 4, 148, 118], [6, 73, 45, 14, 74, 46], [11, 54, 24, 16, 55, 25], [30, 46, 16, 2, 47, 17], [8, 132, 106, 4, 133, 107], [8, 75, 47, 13, 76, 48], [7, 54, 24, 22, 55, 25], [22, 45, 15, 13, 46, 16], [10, 142, 114, 2, 143, 115], [19, 74, 46, 4, 75, 47], [28, 50, 22, 6, 51, 23], [33, 46, 16, 4, 47, 17], [8, 152, 122, 4, 153, 123], [22, 73, 45, 3, 74, 46], [8, 53, 23, 26, 54, 24], [12, 45, 15, 28, 46, 16], [3, 147, 117, 10, 148, 118], [3, 73, 45, 23, 74, 46], [4, 54, 24, 31, 55, 25], [11, 45, 15, 31, 46, 16], [7, 146, 116, 7, 147, 117], [21, 73, 45, 7, 74, 46], [1, 53, 23, 37, 54, 24], [19, 45, 15, 26, 46, 16], [5, 145, 115, 10, 146, 116], [19, 75, 47, 10, 76, 48], [15, 54, 24, 25, 55, 25], [23, 45, 15, 25, 46, 16], [13, 145, 115, 3, 146, 116], [2, 74, 46, 29, 75, 47], [42, 54, 24, 1, 55, 25], [23, 45, 15, 28, 46, 16], [17, 145, 115], [10, 74, 46, 23, 75, 47], [10, 54, 24, 35, 55, 25], [19, 45, 15, 35, 46, 16], [17, 145, 115, 1, 146, 116], [14, 74, 46, 21, 75, 47], [29, 54, 24, 19, 55, 25], [11, 45, 15, 46, 46, 16], [13, 145, 115, 6, 146, 116], [14, 74, 46, 23, 75, 47], [44, 54, 24, 7, 55, 25], [59, 46, 16, 1, 47, 17], [12, 151, 121, 7, 152, 122], [12, 75, 47, 26, 76, 48], [39, 54, 24, 14, 55, 25], [22, 45, 15, 41, 46, 16], [6, 151, 121, 14, 152, 122], [6, 75, 47, 34, 76, 48], [46, 54, 24, 10, 55, 25], [2, 45, 15, 64, 46, 16], [17, 152, 122, 4, 153, 123], [29, 74, 46, 14, 75, 47], [49, 54, 24, 10, 55, 25], [24, 45, 15, 46, 46, 16], [4, 152, 122, 18, 153, 123], [13, 74, 46, 32, 75, 47], [48, 54, 24, 14, 55, 25], [42, 45, 15, 32, 46, 16], [20, 147, 117, 4, 148, 118], [40, 75, 47, 7, 76, 48], [43, 54, 24, 22, 55, 25], [10, 45, 15, 67, 46, 16], [19, 148, 118, 6, 149, 119], [18, 75, 47, 31, 76, 48], [34, 54, 24, 34, 55, 25], [20, 45, 15, 61, 46, 16]],
            r.getRSBlocks = function(e, t) {
                var a = r.getRsBlockTable(e, t);
                if (null == a) throw Error("bad rs block @ typeNumber:" + e + "/errorCorrectLevel:" + t);
                for (var i = a.length / 3,
                s = [], o = 0; o < i; o++) for (var n = a[3 * o + 0], l = a[3 * o + 1], d = a[3 * o + 2], c = 0; c < n; c++) s.push(new r(l, d));
                return s
            },
            r.getRsBlockTable = function(e, t) {
                switch (t) {
                case 1:
                    return r.RS_BLOCK_TABLE[4 * (e - 1) + 0];
                case 0:
                    return r.RS_BLOCK_TABLE[4 * (e - 1) + 1];
                case 3:
                    return r.RS_BLOCK_TABLE[4 * (e - 1) + 2];
                case 2:
                    return r.RS_BLOCK_TABLE[4 * (e - 1) + 3]
                }
            },
            n.prototype = {
                get: function(e) {
                    return 1 == (this.buffer[Math.floor(e / 8)] >>> 7 - e % 8 & 1)
                },
                put: function(e, t) {
                    for (var a = 0; a < t; a++) this.putBit(1 == (e >>> t - a - 1 & 1))
                },
                getLengthInBits: function() {
                    return this.length
                },
                putBit: function(e) {
                    var t = Math.floor(this.length / 8);
                    this.buffer.length <= t && this.buffer.push(0),
                    e && (this.buffer[t] |= 128 >>> this.length % 8),
                    this.length++
                }
            },
            "string" == typeof e && (e = {
                text: e
            }),
            e = i.extend({},
            {
                render: "canvas",
                width: 256,
                height: 256,
                typeNumber: -1,
                correctLevel: 2,
                background: "#ffffff",
                foreground: "#000000"
            },
            e),
            this.each((function() {
                var t;
                if ("canvas" == e.render) { (t = new s(e.typeNumber, e.correctLevel)).addData(e.text),
                    t.make();
                    var a = document.createElement("canvas");
                    a.width = e.width,
                    a.height = e.height;
                    for (var o = a.getContext("2d"), r = e.width / t.getModuleCount(), n = e.height / t.getModuleCount(), l = 0; l < t.getModuleCount(); l++) for (var d = 0; d < t.getModuleCount(); d++) {
                        o.fillStyle = t.isDark(l, d) ? e.foreground: e.background;
                        var c = Math.ceil((d + 1) * r) - Math.floor(d * r),
                        p = Math.ceil((l + 1) * r) - Math.floor(l * r);
                        o.fillRect(Math.round(d * r), Math.round(l * n), c, p)
                    }
                } else for ((t = new s(e.typeNumber, e.correctLevel)).addData(e.text), t.make(), a = i("<table></table>").css("width", e.width + "px").css("height", e.height + "px").css("border", "0px").css("border-collapse", "collapse").css("background-color", e.background), o = e.width / t.getModuleCount(), r = e.height / t.getModuleCount(), n = 0; n < t.getModuleCount(); n++) for (l = i("<tr></tr>").css("height", r + "px").appendTo(a), d = 0; d < t.getModuleCount(); d++) i("<td></td>").css("width", o + "px").css("background-color", t.isDark(n, d) ? e.foreground: e.background).appendTo(l);
                t = a,
                jQuery(t).appendTo(this)
            }))
        }
    },
    {}],
    12 : [function(e, t, a) {
        "use strict"; !
        function(e) {
            e(document).ready((function() {
                function t(e, t) {
                    var a = new RegExp("(^|&)" + t + "=([^&]*)(&|$)"),
                    i = (e && e.split("?")[1] ? e.split("?")[1] : "").match(a);
                    return null != i ? unescape(i[2]) : null
                }
                "Microsoft Internet Explorer" == navigator.appName && "9." == navigator.appVersion.match(/9./i) && e(".edit-cover, .edit-avatar").hide();
                var a, i, s = 0;
                e(document).on("click", ".edit-avatar, .edit-cover", (function(t) {
                    t.preventDefault(),
                    s = e(this).hasClass("edit-cover") ? 1 : 0,
                    i = e(this).data("user");
                    var o = cropperModal({
                        lg: s,
                        title: _wpcom_js.cropper.title,
                        desc: s ? _wpcom_js.cropper.desc_1: _wpcom_js.cropper.desc_0,
                        btn: _wpcom_js.cropper.btn,
                        loading: _wpcom_js.cropper.loading,
                        apply: _wpcom_js.cropper.apply,
                        cancel: _wpcom_js.cropper.cancel
                    });
                    e("#crop-modal").length ? e("#crop-modal").replaceWith(o) : e("body").append(o),
                    a && (a.destroy(), a = null, e(".crop-img-wrap").hide(), e(".crop-img-btn").show(), e("#crop-img").remove(), e(".crop-notice").text("")),
                    e("#crop-modal").modal("show")
                })).on("change", "#img-file", (function(t) {
                    if (e(".crop-notice").text(""), !this.files.length) return ! 1;
                    var i;
                    if (this.files[0].size / 1024 > 5120) return wpcom_alert(_wpcom_js.cropper.alert_size),
                    !1;
                    this.files[0].type.match(/image.*/) ? (i = window.URL.createObjectURL(this.files[0]), e(".crop-img-wrap").append('<img id="crop-img" src="' + i + '">').show(), e(".crop-img-btn").hide(), a = new Cropper(document.getElementById("crop-img"), {
                        aspectRatio: s ? 2.7 : 1,
                        minContainerHeight: 300,
                        viewMode: s ? 3 : 1,
                        ready: function() {
                            var e = {
                                width: 300,
                                height: 300
                            };
                            s && (e = {
                                width: 810,
                                height: 300,
                                left: 44
                            }),
                            a.setCropBoxData(e)
                        }
                    }), e(this).val("")) : wpcom_alert(_wpcom_js.cropper.alert_filetype)
                })).on("click", ".j-crop-close", (function() {
                    a && a.destroy(),
                    a = null,
                    e(".crop-img-wrap").hide(),
                    e(".crop-img-btn").show(),
                    e("#crop-img").remove(),
                    e(".crop-notice").text("")
                })).on("click", ".j-crop-apply", (function() {
                    var t = e(this);
                    t.loading(1);
                    var o = e(".crop-notice");
                    if (o.text(""), a) if (a.crop().cropped) {
                        var r = {
                            minWidth: 200,
                            minHeight: 200,
                            maxWidth: 600,
                            maxHeight: 600,
                            fillColor: "#fff",
                            imageSmoothingQuality: "high"
                        };
                        s && (r = {
                            minWidth: 810,
                            minHeight: 300,
                            maxWidth: 1620,
                            maxHeight: 600,
                            fillColor: "#fff",
                            imageSmoothingQuality: "high"
                        });
                        var n = e.extend(a.getCropBoxData(), r),
                        l = a.getCroppedCanvas(n).toDataURL("image/jpeg", .95);
                        if (l) {
                            var d = new FormData;
                            d.append("action", "wpcom_cropped_upload"),
                            d.append("nonce", e("#wpcom_cropper_nonce").val()),
                            d.append("image", l),
                            d.append("type", s),
                            i && d.append("user", i),
                            e.ajax(_wpcom_js.ajaxurl, {
                                method: "POST",
                                data: d,
                                dataType: "json",
                                processData: !1,
                                contentType: !1,
                                success: function(a) {
                                    "1" == a.result ? (s ? e(".wpcom-profile-head .wpcom-ph-bg img").attr("src", a.url) : e(".member-account-avatar img.avatar,.wpcom-ph-avatar img.avatar,#j-user-wrap img.avatar").replaceWith('<img class="avatar photo" src="' + a.url + "?t=" + Date.parse(new Date) / 1e3 + '">'), e("#crop-modal").modal("hide")) : "-1" == a.result ? o.text(_wpcom_js.cropper.err_nonce) : "-2" == a.result ? o.text(_wpcom_js.cropper.err_fail) : "-3" == a.result && o.text(_wpcom_js.cropper.err_login),
                                    t.loading(0)
                                },
                                error: function() {
                                    wpcom_alert(_wpcom_js.cropper.ajaxerr),
                                    t.loading(0)
                                }
                            })
                        } else t.loading(0)
                    } else t.loading(0);
                    else o.text(_wpcom_js.cropper.err_empty),
                    t.loading(0)
                })).on("click", ".j-social-unbind", (function() {
                    var t = e(this);
                    if (t.hasClass("disabled")) return ! 1;
                    var a = t.data("name");
                    t.addClass("disabled").text("\u5904\u7406\u4e2d..."),
                    confirm("\u662f\u5426\u786e\u5b9a\u89e3\u9664\u7ed1\u5b9a\uff1f") ? e.ajax({
                        type: "POST",
                        url: _wpcom_js.ajaxurl,
                        data: {
                            action: "wpcom_social_unbind",
                            name: a
                        },
                        dataType: "json",
                        success: function(e) {
                            t.removeClass("disabled").text("\u89e3\u9664\u7ed1\u5b9a"),
                            1 == e.result ? (wpcom_alert("\u89e3\u7ed1\u6210\u529f\uff01"), t.parent().html(e.error)) : e.error && wpcom_alert(e.error)
                        },
                        error: function() {
                            t.removeClass("disabled").text("\u89e3\u9664\u7ed1\u5b9a")
                        }
                    }) : t.removeClass("disabled").text("\u89e3\u9664\u7ed1\u5b9a")
                })).on("click", "a", (function(a) {
                    var i = e(this).attr("href"),
                    s = i ? i.match(/(\?|&)modal-type=(login|register)/i) : null;
                    if (s && s[2]) {
                        if (e("body.navbar-on").length) return;
                        a.preventDefault();
                        var o = e("#login-form-modal");
                        0 === o.length && (e("body").append('<div class="modal modal-login fade" id="login-form-modal" data-backdrop="static">\n            <div class="modal-dialog">\n                <div class="modal-content"><div class="close" data-dismiss="modal" aria-label="Close"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i></div>\n                    <div class="modal-body"></div>\n                </div>\n            </div>\n        </div>'), o = e("#login-form-modal")),
                        e("#login-modal").length && e("#login-modal").modal("hide");
                        var r = o.find(".modal-body");
                        r.html('<i class="wpcom-icon wi wpcom-icon-loader"><svg aria-hidden="true"><use xlink:href="#wi-loader"></use></svg></i>'),
                        o.modal("show");
                        var n = t(i, "approve"),
                        l = {
                            action: "wpcom_login_modal",
                            type: s[2]
                        };
                        n && (l.approve = n, l.login = t(i, "login")),
                        e.ajax({
                            type: "POST",
                            url: _wpcom_js.ajaxurl,
                            data: l,
                            dataType: "html",
                            success: function(t) {
                                if ("undefined" == typeof is_load_login) {
                                    var a = void 0 !== _wpcom_js.framework_url ? _wpcom_js.framework_url: _wpcom_js.theme_url + "/themer";
                                    e.getScript(a + "/assets/js/login.js", (function() {
                                        r.html(t),
                                        e(document).trigger("init_captcha")
                                    }))
                                } else r.html(t),
                                e(document).trigger("init_captcha");
                                setTimeout((function() {
                                    r.find('[data-toggle="tooltip"]').tooltip()
                                }), 1e3)
                            },
                            error: function() {}
                        })
                    }
                })).on("click", ".member-form-tab a", (function(t) {
                    t.preventDefault();
                    var a = e(this);
                    if (a.closest("li").hasClass("active")) return ! 1;
                    var i = a.closest("ul"),
                    s = i.closest(".member-form-inner"),
                    o = a.data("type"),
                    r = e("#j-tpl-login" + ("2" == o ? "2": "")).html();
                    r && (s.find(".member-form-items").html(r), i.find("li").removeClass("active"), a.closest("li").addClass("active"), o = o ? 0 : 1, e(document).trigger("init_captcha"))
                })).on("click", ".profile-tab .profile-tab-item", (function() {
                    var t = e(this),
                    a = t.closest(".wpcom-profile-main"),
                    i = t.index();
                    a.find(".profile-tab-item, .profile-tab-content").removeClass("active"),
                    t.addClass("active"),
                    a.find(".profile-tab-content").eq(i).addClass("active").trigger("profile_tab_show")
                })).on("click", ".show-password", (function() {
                    var t = e(this);
                    t.hasClass("active") ? (t.html('<i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-eye-off-fill"></use></svg></i>').removeClass("active"), t.parent().find("input").attr("type", "password")) : (t.html('<i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-eye-fill"></use></svg></i>').addClass("active"), t.parent().find("input").attr("type", "text"))
                }))
            }));
            var t = e("#j-user-wrap");
            t.length && e.ajax({
                type: "POST",
                url: _wpcom_js.ajaxurl,
                data: {
                    action: "wpcom_is_login"
                },
                dataType: "json",
                success: function(a) {
                    if (0 == a.result) {
                        var i = 0;
                        a.messages && (i = Number(a.messages)),
                        a.notifications && (i += Number(a.notifications));
                        var s = '<ul class="profile"><li class="menu-item dropdown"><a class="menu-item-user" href="' + (a.account ? a.account: a.url) + '"><span class="menu-item-avatar">' + a.avatar + (i ? '<span class="menu-item-unread">' + i + "</span>": "") + '</span><span class="menu-item-name">' + a.display_name + "</span></a>",
                        o = e(".header .navbar-toggle");
                        if (i && o.length && o.append('<span class="navbar-unread">' + i + "</span>"), a.menus && a.menus.length) {
                            s += '<ul class="dropdown-menu">';
                            for (var r = 0; r < a.menus.length; r++) s += '<li><a href="' + a.menus[r].url + '">' + a.menus[r].title + "</a></li>";
                            s += "</ul>"
                        }
                        s += "</li></ul>",
                        t.html(s),
                        window.is_login = !0,
                        e(document).trigger("wpcom_login")
                    } else t.find(".login").addClass("cur"),
                    window.is_login = !1,
                    e(document).trigger("wpcom_not_login");
                    e("header.header").trigger("DOMNodeInserted"),
                    a.wc && (a.wc.fragments && a.wc.fragments["a.cart-contents"] && e("header .shopping-cart").html(a.wc.fragments["a.cart-contents"]), setTimeout((function() {
                        a.wc.fragments && a.wc.fragments["div.widget_shopping_cart_content"] && e("header .shopping-cart").append(a.wc.fragments["div.widget_shopping_cart_content"]),
                        e("header.header").trigger("DOMNodeInserted")
                    }), 100))
                }
            }),
            e(".social-login-wrap").on("submit", "#sl-form-create", (function() {
                var t = e(this);
                if (t.find(".sl-input-submit.disabled").length) return ! 1;
                t.find(".sl-input-submit").addClass("disabled");
                for (var a = 0,
                i = t.find(".sl-input input"), s = 0; s < i.length; s++) {
                    var o = e(i[s]).val();
                    "" == e.trim(o) && (e(i[s]).addClass("error"), a = 1)
                }
                return a ? t.find(".sl-input-submit").removeClass("disabled") : e.ajax({
                    url: _wpcom_js.ajaxurl,
                    data: e(this).serialize() + "&action=wpcom_sl_login",
                    type: "POST",
                    dataType: "json",
                    success: function(e) {
                        t.find(".sl-input-submit").removeClass("disabled"),
                        "-1" == e ? t.find(".sl-result").text("\u8bf7\u6c42\u51fa\u9519\uff0c\u8bf7\u91cd\u8bd5\uff01").addClass("error") : "1" == e.result ? t.find(".sl-result").text("\u7528\u6237\u540d\u6216\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a").addClass("error") : "2" == e.result ? t.find(".sl-result").text("\u7528\u6237\u540d\u6216\u5bc6\u7801\u9519\u8bef").addClass("error") : "3" == e.result ? t.find(".sl-result").text("\u7b2c\u4e09\u65b9\u5e94\u7528\u6388\u6743\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5").addClass("error") : "4" == e.result ? t.find(".sl-result").text("\u7b2c\u4e09\u65b9\u5e10\u53f7\u5df2\u4e0e\u672c\u7ad9\u5176\u4ed6\u5e10\u53f7\u7ed1\u5b9a").addClass("error") : "0" == e.result && (t.find(".sl-result").text("\u7ed1\u5b9a\u6210\u529f\uff01").removeClass("error"), setTimeout((function() {
                            window.location.href = e.redirect
                        }), 100))
                    },
                    error: function(e) {
                        t.find(".sl-result").text("\u8bf7\u6c42\u51fa\u9519\uff0c\u8bf7\u91cd\u8bd5\uff01").addClass("error"),
                        t.find(".sl-input-submit").removeClass("disabled")
                    }
                }),
                !1
            })).on("submit", "#sl-form-bind", (function() {
                var t = e(this);
                if (t.find(".sl-input-submit.disabled").length) return ! 1;
                t.find(".sl-input-submit").addClass("disabled");
                for (var a = 0,
                i = t.find(".sl-input input"), s = 0; s < i.length; s++) {
                    var o = e(i[s]).val();
                    "" == e.trim(o) && (e(i[s]).addClass("error"), a = 1)
                }
                return a ? t.find(".sl-input-submit").removeClass("disabled") : e.ajax({
                    url: _wpcom_js.ajaxurl,
                    data: e(this).serialize() + "&action=wpcom_sl_create",
                    type: "POST",
                    dataType: "json",
                    success: function(e) {
                        "-1" == e ? t.find(".sl-result").text("\u8bf7\u6c42\u51fa\u9519\uff0c\u8bf7\u91cd\u8bd5\uff01").addClass("error") : "1" == e.result ? t.find(".sl-result").text("\u8bf7\u8f93\u5165\u7535\u5b50\u90ae\u7bb1").addClass("error") : "2" == e.result ? t.find(".sl-result").text("\u8bf7\u8f93\u5165\u6b63\u786e\u7684\u7535\u5b50\u90ae\u7bb1").addClass("error") : "3" == e.result ? t.find(".sl-result").text("\u7b2c\u4e09\u65b9\u5e94\u7528\u6388\u6743\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5").addClass("error") : "4" == e.result ? t.find(".sl-result").text("\u7b2c\u4e09\u65b9\u5e10\u53f7\u5df2\u4e0e\u672c\u7ad9\u5176\u4ed6\u5e10\u53f7\u7ed1\u5b9a").addClass("error") : "5" == e.result ? t.find(".sl-result").text("\u8be5\u90ae\u7bb1\u5df2\u88ab\u6ce8\u518c").addClass("error") : "0" == e.result ? (t.find(".sl-result").text("\u6ce8\u518c\u6210\u529f\uff01").removeClass("error"), setTimeout((function() {
                            window.location.href = e.redirect
                        }), 100)) : e.result && e.msg && t.find(".sl-result").text(e.msg).addClass("error"),
                        t.find(".sl-input-submit").removeClass("disabled")
                    },
                    error: function(e) {
                        t.find(".sl-result").text("\u8bf7\u6c42\u51fa\u9519\uff0c\u8bf7\u91cd\u8bd5\uff01").addClass("error"),
                        t.find(".sl-input-submit").removeClass("disabled")
                    }
                }),
                !1
            })).on("input change", ".sl-input input", (function() {
                var t = e(this);
                t.removeClass("error"),
                t.closest(".sl-info-form").find(".sl-result").text("")
            })).on("click", ".sl-form-title", (function() {
                var t = e(this).closest(".sl-form-item");
                e(".sl-form-item").removeClass("active"),
                t.addClass("active")
            }))
        } (jQuery)
    },
    {}],
    13 : [function(e, t, a) {
        "use strict";
        Object.defineProperty(a, "__esModule", {
            value: !0
        }),
        a.
    default = void 0;
        var i = {
            init: function() {
                var e = this;
                this.checker = null,
                this.loader = '<i class="wpcom-icon wi wpcom-icon-loader"><svg aria-hidden="true"><use xlink:href="#wi-loader"></use></svg></i>',
                this.error = '<i class="wpcom-icon wi wpcom-icon-error"><svg aria-hidden="true"><use xlink:href="#wi-warning"></use></svg></i>',
                jQuery(document).on("click", ".j-message", (function(t) {
                    e.load_box(t)
                })).on("click", ".j-message-send", (function(t) {
                    e.send(t)
                })).on("input propertychange", ".j-message-text", (function() {
                    var e = jQuery(this);
                    jQuery.trim(e.val()).length ? e.parent().find(".j-message-send").removeClass("disabled") : e.parent().find(".j-message-send").addClass("disabled")
                })).on("keydown", ".j-message-text", (function(e) {
                    13 !== e.keyCode || e.shiftKey || (e.preventDefault(), e.returnValue = !1, jQuery(e.target).closest(".modal-content").find(".j-message-send").trigger("click"))
                }))
            },
            load_box: function(e) {
                if (!1 === window.is_login) return jQuery("#login-modal").modal(),
                !1;
                var t = this,
                a = jQuery(e.target).closest(".j-message");
                if (a.hasClass("loading")) return ! 1;
                var i = a.data("user");
                i && (a.loading(1), jQuery.ajax({
                    type: "POST",
                    url: _wpcom_js.ajaxurl,
                    data: {
                        action: "wpcom_message_box",
                        user: i
                    },
                    dataType: "json",
                    success: function(e, s, o) {
                        if (a.loading(0), a.find(".wi").show(), 0 == e.result) {
                            if (!jQuery("#message-modal").length) {
                                jQuery("body").append('<div class="modal modal-message fade" id="message-modal" data-backdrop="static">\n            <div class="modal-dialog">\n                <div class="modal-content"><div class="modal-header">\n                <div class="close" data-dismiss="modal" aria-label="Close"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-close"></use></svg></i></div>\n                <h4 class="modal-title"></h4>\n            </div>\n                    <div class="modal-body"><div class="modal-message-list"></div><div class="modal-message-editor"><textarea class="modal-message-text j-message-text"></textarea><div class="modal-message-send">\u6309 Enter \u952e\u53d1\u9001<button type="button" class="btn btn-primary btn-message disabled j-message-send">\u53d1\u9001</button></div></div></div>\n                </div>\n            </div>\n        </div>')
                            }
                            var r = jQuery("#message-modal"),
                            n = '<div class="modal-message-more">' + t.loader + "</div>",
                            l = r.find(".modal-message-list");
                            r.find(".modal-title").text(e.to_uname ? e.to_uname: " ").data("user", e.to_uid ? e.to_uid: 0),
                            l.html(n + (e.messages ? e.messages: "")),
                            r.find(".j-message-send").data("avatar", e.avatar),
                            r.modal("show").find(".j-message-text").val(""),
                            "0" === o.getResponseHeader("Next-page") && r.find(".modal-message-more").remove(),
                            setTimeout((function() {
                                var e = r.find(".modal-message-item:last-child")[0];
                                e && e.scrollIntoView(),
                                t.load_more(r, i)
                            }), 200),
                            t.set_read(i, a),
                            t.checker && clearInterval(t.checker),
                            t.checker = setInterval((function() {
                                t.check_messages(r, i)
                            }), 1e4),
                            r.on("hide.bs.modal", (function() {
                                clearInterval(t.checker)
                            }))
                        } else - 1 == e.result ? (jQuery(document).trigger("wpcom_not_login"), jQuery("#login-modal").modal()) : -3 == e.result && e.msg && wpcom_alert(e.msg)
                    },
                    error: function() {
                        a.loading(0),
                        a.find(".wi").show()
                    }
                }))
            },
            send: function(e) {
                var t = jQuery(e.target).closest(".j-message-send");
                if (!t.hasClass("disabled")) {
                    var a = t.closest(".modal-content"),
                    i = a.find(".modal-message-list"),
                    s = jQuery.trim(a.find(".j-message-text").val()),
                    o = a.find(".modal-title").data("user"),
                    r = this;
                    if (s) {
                        r.checker && clearInterval(r.checker),
                        r.checker = setInterval((function() {
                            r.check_messages(a, o)
                        }), 1e4);
                        var n = jQuery('<div class="modal-message-item message-sender"><div class="modal-message-time"></div><div class="modal-message-inner"><div class="modal-message-status">' + r.loader + '</div><div class="modal-message-content"><div class="message-text"></div></div><div class="modal-message-avatar"><img src="' + t.data("avatar") + '"></div></div></div>');
                        n.find(".message-text").text(s);
                        var l = i.find(".modal-message-item:last-child"),
                        d = l.length ? l.data("id") : 0;
                        i.append(n),
                        a.find(".j-message-text").val("").trigger("input"),
                        setTimeout((function() {
                            i.animate({
                                scrollTop: i.prop("scrollHeight")
                            },
                            150)
                        }), 100),
                        jQuery.ajax({
                            type: "POST",
                            url: _wpcom_js.ajaxurl,
                            data: {
                                action: "wpcom_send_message",
                                to: o,
                                content: s,
                                last: d
                            },
                            dataType: "json",
                            success: function(e) {
                                try {
                                    0 === e.result ? e.messages ? (n.replaceWith(e.messages), i.animate({
                                        scrollTop: i.prop("scrollHeight")
                                    },
                                    150)) : (n.data("id", e.message_id).find(".modal-message-status").html(""), n.find(".modal-message-time").html(e.message_time)) : -1 === e.result ? (jQuery(document).trigger("wpcom_not_login"), a.closest(".modal").modal("hide"), setTimeout((function() {
                                        jQuery("#login-modal").modal("show")
                                    }), 100)) : -3 === e.result ? (e.msg && wpcom_alert(e.msg), n.remove()) : n.find(".modal-message-status").html(r.error)
                                } catch(e) {
                                    n.find(".modal-message-status").html(r.error)
                                }
                            },
                            error: function() {
                                n.find(".modal-message-status").html(r.error)
                            }
                        })
                    } else wpcom_alert("\u79c1\u4fe1\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a")
                }
            },
            load_more: function(e, t) {
                var a = 0,
                i = e.find(".modal-message-list"),
                s = e.find(".modal-message-more");
                i.off("scroll.message").on("scroll.message", (function(o) {
                    if (o.target.scrollTop <= 20 && o.target.scrollTop < a && (s = e.find(".modal-message-more")).length && !s.hasClass("active")) {
                        s.addClass("active");
                        var r = e.find(".modal-message-item").first(),
                        n = r.length ? r.data("id") : 0;
                        jQuery.ajax({
                            type: "POST",
                            url: _wpcom_js.ajaxurl,
                            data: {
                                action: "wpcom_load_messages",
                                user: t,
                                last: n
                            },
                            dataType: "html",
                            success: function(e, t, a) {
                                if (e) {
                                    var o = r.offset().top - i.scrollTop();
                                    s.after(e),
                                    i.scrollTop(r.offset().top - o)
                                }
                                s.removeClass("active"),
                                "0" === a.getResponseHeader("Next-page") && s.remove()
                            },
                            error: function() {
                                s.removeClass("active")
                            }
                        })
                    }
                    a = o.target.scrollTop
                }))
            },
            set_read: function(e, t) {
                jQuery.ajax({
                    type: "POST",
                    url: _wpcom_js.ajaxurl,
                    data: {
                        action: "wpcom_read_messages",
                        user: e
                    },
                    dataType: "html",
                    success: function(e) {
                        e > 0 && t && t.find(".messages-item-unread").length && t.find(".messages-item-unread").remove()
                    }
                })
            },
            check_messages: function(e, t) {
                var a = this,
                i = e.find(".modal-message-list"),
                s = i.find(".modal-message-item:last-child"),
                o = s.length ? s.data("id") : 0;
                jQuery.ajax({
                    type: "POST",
                    url: _wpcom_js.ajaxurl,
                    data: {
                        action: "wpcom_check_messages",
                        user: t,
                        last: o
                    },
                    dataType: "json",
                    success: function(e) {
                        0 === e.result && e.messages && (i.append(e.messages), a.set_read(t), i.animate({
                            scrollTop: i.prop("scrollHeight")
                        },
                        150))
                    }
                })
            }
        };
        a.
    default = i
    },
    {}],
    14 : [function(e, t, a) {
        "use strict";
        Object.defineProperty(a, "__esModule", {
            value: !0
        }),
        a.
    default = void 0;
        var i = {
            init: function() {
                var e = this;
                jQuery(".notify-list").on("click", ".j-notification .notify-item-title a", (function() {
                    var t = jQuery(this).closest(".j-notification");
                    if (!t.hasClass("status-1")) {
                        var a = t.data("id");
                        e.set_read(t, a)
                    }
                }))
            },
            set_read: function(e, t) {
                jQuery.ajax({
                    type: "POST",
                    url: _wpcom_js.ajaxurl,
                    data: {
                        action: "wpcom_read_notification",
                        id: t
                    },
                    dataType: "html",
                    success: function(t) {
                        t && e.removeClass("status-0").addClass("status-1")
                    }
                })
            }
        };
        a.
    default = i
    },
    {}],
    15 : [function(require, module, exports) {
        "use strict";
        function WShare() {
            this.defaults = {
                url: this.getMeta("url") || location.href,
                origin: location.origin,
                source: this.getMeta("site_name") || document.title,
                title: this.getMeta("title") || document.title,
                description: this.getMeta("description") || "",
                image: this.getMeta("image")
            }
        }
        require("../../../Themer/src/js/jquery.qrcode.min"),
        "function" != typeof Object.assign && (Object.assign = function(e) {
            if (null == e) throw new TypeError("Cannot convert undefined or null to object");
            e = Object(e);
            for (var t = 1; t < arguments.length; t++) {
                var a = arguments[t];
                if (null != a) for (var i in a) Object.prototype.hasOwnProperty.call(a, i) && (e[i] = a[i])
            }
            return e
        }),
        WShare.prototype = {
            getMeta: function(e) {
                var t = document.querySelector('meta[property="og:' + e + '"]');
                return t ? t.getAttribute("content") : ""
            },
            templates: {
                qzone: "https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url={{URL}}&title={{TITLE}}&desc={{DESCRIPTION}}&summary={{SUMMARY}}&site={{SOURCE}}&pics={{IMAGE}}",
                qq: 'https://connect.qq.com/widget/shareqq/index.html?url={{URL}}&title={{TITLE}}&source={{SOURCE}}&desc={{DESCRIPTION}}&pics={{IMAGE}}&summary="{{SUMMARY}}"',
                weibo: "https://service.weibo.com/share/share.php?url={{URL}}&title={{TITLE}}&pic={{IMAGE}}&appkey={{WEIBOKEY}}&searchPic=true",
                wechat: "javascript:",
                douban: "https://shuo.douban.com/!service/share?href={{URL}}&name={{TITLE}}&text={{DESCRIPTION}}&image={{IMAGE}}&starid=0&aid=0&style=11",
                linkedin: "https://www.linkedin.com/shareArticle?mini=true&ro=true&title={{TITLE}}&url={{URL}}&summary={{SUMMARY}}&source={{SOURCE}}&armin=armin",
                facebook: "https://www.facebook.com/sharer/sharer.php?u={{URL}}",
                twitter: "https://twitter.com/intent/tweet?text={{TITLE}}&url={{URL}}&via={{ORIGIN}}"
            },
            makeUrl: function(e, t) {
                t = t || this.defaults;
                var a = this.subString(t.description, 236);
                return t.description = a && a !== t.description ? a + "...": t.description,
                t.summary || (t.summary = t.description),
                this.templates[e].replace(/\{\{(\w)(\w*)\}\}/g, (function(a, i, s) {
                    var o = e + i + s.toLowerCase();
                    return s = (i + s).toLowerCase(),
                    encodeURIComponent((void 0 === t[o] ? t[s] : t[o]) || "")
                }))
            },
            init: function init() {
                var _this = this;
                jQuery("a[data-share]").each((function() {
                    var $el = jQuery(this),
                    type = $el.data("share");
                    if (type && _this.templates[type]) {
                        var data = Object.assign({},
                        _this.defaults);
                        $el.data("share-callback") && (data = Object.assign(data, eval($el.data("share-callback"))(this))),
                        $el.attr("href", _this.makeUrl(type, data)),
                        "wechat" === type && 0 === $el.find(".share-wx-wrap").length && ($el.attr("target", ""), $el.append('<span class="share-wx-wrap"><span class="j-share-qrcode"></span><span>\u5fae\u4fe1\u626b\u7801\u5206\u4eab</span></span>'), $el.find(".j-share-qrcode").qrcode({
                            text: _this.defaults.url
                        }))
                    }
                }))
            },
            subString: function(e, t) {
                var a = /[^\x00-\xff]/g;
                if (e.replace(a, "aa").length <= t) return e;
                for (var i = Math.floor(t / 2), s = e.length; i < s; i++) if (e.substring(0, i).replace(a, "aa").length >= t) return e.substring(0, i);
                return e
            }
        },
        module.exports = new WShare
    },
    {
        "../../../Themer/src/js/jquery.qrcode.min": 11
    }],
    16 : [function(e, t, a) {
        "use strict";
        function i(e) {
            return (i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ?
            function(e) {
                return typeof e
            }: function(e) {
                return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol": typeof e
            })(e)
        } !
        function() {
            var e, t, a, s = function t(a, s) {
                if (! (this instanceof t)) return new t(a, s);
                var o = {
                    direction: "horizontal",
                    touchEventsTarget: "container",
                    initialSlide: 0,
                    speed: 300,
                    autoplay: !1,
                    autoplayDisableOnInteraction: !0,
                    autoplayStopOnLast: !1,
                    iOSEdgeSwipeDetection: !1,
                    iOSEdgeSwipeThreshold: 20,
                    freeMode: !1,
                    freeModeMomentum: !0,
                    freeModeMomentumRatio: 1,
                    freeModeMomentumBounce: !0,
                    freeModeMomentumBounceRatio: 1,
                    freeModeMomentumVelocityRatio: 1,
                    freeModeSticky: !1,
                    freeModeMinimumVelocity: .02,
                    autoHeight: !1,
                    setWrapperSize: !1,
                    virtualTranslate: !1,
                    effect: "slide",
                    coverflow: {
                        rotate: 50,
                        stretch: 0,
                        depth: 100,
                        modifier: 1,
                        slideShadows: !0
                    },
                    flip: {
                        slideShadows: !0,
                        limitRotation: !0
                    },
                    cube: {
                        slideShadows: !0,
                        shadow: !0,
                        shadowOffset: 20,
                        shadowScale: .94
                    },
                    fade: {
                        crossFade: !1
                    },
                    parallax: !1,
                    zoom: !1,
                    zoomMax: 3,
                    zoomMin: 1,
                    zoomToggle: !0,
                    scrollbar: null,
                    scrollbarHide: !0,
                    scrollbarDraggable: !1,
                    scrollbarSnapOnRelease: !1,
                    keyboardControl: !1,
                    mousewheelControl: !1,
                    mousewheelReleaseOnEdges: !1,
                    mousewheelInvert: !1,
                    mousewheelForceToAxis: !1,
                    mousewheelSensitivity: 1,
                    mousewheelEventsTarged: "container",
                    hashnav: !1,
                    hashnavWatchState: !1,
                    history: !1,
                    replaceState: !1,
                    breakpoints: void 0,
                    spaceBetween: 0,
                    slidesPerView: 1,
                    slidesPerColumn: 1,
                    slidesPerColumnFill: "column",
                    slidesPerGroup: 1,
                    centeredSlides: !1,
                    slidesOffsetBefore: 0,
                    slidesOffsetAfter: 0,
                    roundLengths: !1,
                    touchRatio: 1,
                    touchAngle: 45,
                    simulateTouch: !0,
                    shortSwipes: !0,
                    longSwipes: !0,
                    longSwipesRatio: .5,
                    longSwipesMs: 300,
                    followFinger: !0,
                    onlyExternal: !1,
                    threshold: 0,
                    touchMoveStopPropagation: !0,
                    touchReleaseOnEdges: !1,
                    uniqueNavElements: !0,
                    pagination: null,
                    paginationElement: "span",
                    paginationClickable: !1,
                    paginationHide: !1,
                    paginationBulletRender: null,
                    paginationProgressRender: null,
                    paginationFractionRender: null,
                    paginationCustomRender: null,
                    paginationType: "bullets",
                    resistance: !0,
                    resistanceRatio: .85,
                    nextButton: null,
                    prevButton: null,
                    watchSlidesProgress: !1,
                    watchSlidesVisibility: !1,
                    grabCursor: !1,
                    preventClicks: !0,
                    preventClicksPropagation: !0,
                    slideToClickedSlide: !1,
                    lazyLoading: !1,
                    lazyLoadingInPrevNext: !1,
                    lazyLoadingInPrevNextAmount: 1,
                    lazyLoadingOnTransitionStart: !1,
                    preloadImages: !0,
                    updateOnImagesReady: !0,
                    loop: !1,
                    loopAdditionalSlides: 0,
                    loopedSlides: null,
                    control: void 0,
                    controlInverse: !1,
                    controlBy: "slide",
                    normalizeSlideIndex: !0,
                    allowSwipeToPrev: !0,
                    allowSwipeToNext: !0,
                    swipeHandler: null,
                    noSwiping: !0,
                    noSwipingClass: "swiper-no-swiping",
                    passiveListeners: !0,
                    containerModifierClass: "swiper-container-",
                    slideClass: "swiper-slide",
                    slideActiveClass: "swiper-slide-active",
                    slideDuplicateActiveClass: "swiper-slide-duplicate-active",
                    slideVisibleClass: "swiper-slide-visible",
                    slideDuplicateClass: "swiper-slide-duplicate",
                    slideNextClass: "swiper-slide-next",
                    slideDuplicateNextClass: "swiper-slide-duplicate-next",
                    slidePrevClass: "swiper-slide-prev",
                    slideDuplicatePrevClass: "swiper-slide-duplicate-prev",
                    wrapperClass: "swiper-wrapper",
                    bulletClass: "swiper-pagination-bullet",
                    bulletActiveClass: "swiper-pagination-bullet-active",
                    buttonDisabledClass: "swiper-button-disabled",
                    paginationCurrentClass: "swiper-pagination-current",
                    paginationTotalClass: "swiper-pagination-total",
                    paginationHiddenClass: "swiper-pagination-hidden",
                    paginationProgressbarClass: "swiper-pagination-progressbar",
                    paginationClickableClass: "swiper-pagination-clickable",
                    paginationModifierClass: "swiper-pagination-",
                    lazyLoadingClass: "swiper-lazy",
                    lazyStatusLoadingClass: "swiper-lazy-loading",
                    lazyStatusLoadedClass: "swiper-lazy-loaded",
                    lazyPreloaderClass: "swiper-lazy-preloader",
                    notificationClass: "swiper-notification",
                    preloaderClass: "preloader",
                    zoomContainerClass: "swiper-zoom-container",
                    observer: !1,
                    observeParents: !1,
                    a11y: !1,
                    prevSlideMessage: "Previous slide",
                    nextSlideMessage: "Next slide",
                    firstSlideMessage: "This is the first slide",
                    lastSlideMessage: "This is the last slide",
                    paginationBulletMessage: "Go to slide {{index}}",
                    runCallbacksOnInit: !0
                },
                r = s && s.virtualTranslate;
                s = s || {};
                var n = {};
                for (var l in s) if ("object" !== i(s[l]) || null === s[l] || (s[l].nodeType || s[l] === window || s[l] === document || "undefined" != typeof Dom7 && s[l] instanceof Dom7 || "undefined" != typeof jQuery && s[l] instanceof jQuery)) n[l] = s[l];
                else for (var d in n[l] = {},
                s[l]) n[l][d] = s[l][d];
                for (var c in o) if (void 0 === s[c]) s[c] = o[c];
                else if ("object" === i(s[c])) for (var p in o[c]) void 0 === s[c][p] && (s[c][p] = o[c][p]);
                var u = this;
                if (u.params = s, u.originalParams = n, u.classNames = [], void 0 !== e && "undefined" != typeof Dom7 && (e = Dom7), (void 0 !== e || (e = "undefined" == typeof Dom7 ? window.Dom7 || window.Zepto || window.jQuery: Dom7)) && (u.$ = e, u.currentBreakpoint = void 0, u.getActiveBreakpoint = function() {
                    if (!u.params.breakpoints) return ! 1;
                    var e, t = !1,
                    a = [];
                    for (e in u.params.breakpoints) u.params.breakpoints.hasOwnProperty(e) && a.push(e);
                    a.sort((function(e, t) {
                        return parseInt(e, 10) > parseInt(t, 10)
                    }));
                    for (var i = 0; i < a.length; i++)(e = a[i]) >= window.innerWidth && !t && (t = e);
                    return t || "max"
                },
                u.setBreakpoint = function() {
                    var e = u.getActiveBreakpoint();
                    if (e && u.currentBreakpoint !== e) {
                        var t = e in u.params.breakpoints ? u.params.breakpoints[e] : u.originalParams,
                        a = u.params.loop && t.slidesPerView !== u.params.slidesPerView;
                        for (var i in t) u.params[i] = t[i];
                        u.currentBreakpoint = e,
                        a && u.destroyLoop && u.reLoop(!0)
                    }
                },
                u.params.breakpoints && u.setBreakpoint(), u.container = e(a), 0 !== u.container.length)) {
                    if (u.container.length > 1) {
                        var h = [];
                        return u.container.each((function() {
                            h.push(new t(this, s))
                        })),
                        h
                    }
                    u.container[0].swiper = u,
                    u.container.data("swiper", u),
                    u.classNames.push(u.params.containerModifierClass + u.params.direction),
                    u.params.freeMode && u.classNames.push(u.params.containerModifierClass + "free-mode"),
                    u.support.flexbox || (u.classNames.push(u.params.containerModifierClass + "no-flexbox"), u.params.slidesPerColumn = 1),
                    u.params.autoHeight && u.classNames.push(u.params.containerModifierClass + "autoheight"),
                    (u.params.parallax || u.params.watchSlidesVisibility) && (u.params.watchSlidesProgress = !0),
                    u.params.touchReleaseOnEdges && (u.params.resistanceRatio = 0),
                    ["cube", "coverflow", "flip"].indexOf(u.params.effect) >= 0 && (u.support.transforms3d ? (u.params.watchSlidesProgress = !0, u.classNames.push(u.params.containerModifierClass + "3d")) : u.params.effect = "slide"),
                    "slide" !== u.params.effect && u.classNames.push(u.params.containerModifierClass + u.params.effect),
                    "cube" === u.params.effect && (u.params.resistanceRatio = 0, u.params.slidesPerView = 1, u.params.slidesPerColumn = 1, u.params.slidesPerGroup = 1, u.params.centeredSlides = !1, u.params.spaceBetween = 0, u.params.virtualTranslate = !0),
                    "fade" !== u.params.effect && "flip" !== u.params.effect || (u.params.slidesPerView = 1, u.params.slidesPerColumn = 1, u.params.slidesPerGroup = 1, u.params.watchSlidesProgress = !0, u.params.spaceBetween = 0, void 0 === r && (u.params.virtualTranslate = !0)),
                    u.params.grabCursor && u.support.touch && (u.params.grabCursor = !1),
                    u.wrapper = u.container.children("." + u.params.wrapperClass),
                    u.params.pagination && (u.paginationContainer = e(u.params.pagination), u.params.uniqueNavElements && "string" == typeof u.params.pagination && u.paginationContainer.length > 1 && 1 === u.container.find(u.params.pagination).length && (u.paginationContainer = u.container.find(u.params.pagination)), "bullets" === u.params.paginationType && u.params.paginationClickable ? u.paginationContainer.addClass(u.params.paginationModifierClass + "clickable") : u.params.paginationClickable = !1, u.paginationContainer.addClass(u.params.paginationModifierClass + u.params.paginationType)),
                    (u.params.nextButton || u.params.prevButton) && (u.params.nextButton && (u.nextButton = e(u.params.nextButton), u.params.uniqueNavElements && "string" == typeof u.params.nextButton && u.nextButton.length > 1 && 1 === u.container.find(u.params.nextButton).length && (u.nextButton = u.container.find(u.params.nextButton))), u.params.prevButton && (u.prevButton = e(u.params.prevButton), u.params.uniqueNavElements && "string" == typeof u.params.prevButton && u.prevButton.length > 1 && 1 === u.container.find(u.params.prevButton).length && (u.prevButton = u.container.find(u.params.prevButton)))),
                    u.isHorizontal = function() {
                        return "horizontal" === u.params.direction
                    },
                    u.rtl = u.isHorizontal() && ("rtl" === u.container[0].dir.toLowerCase() || "rtl" === u.container.css("direction")),
                    u.rtl && u.classNames.push(u.params.containerModifierClass + "rtl"),
                    u.rtl && (u.wrongRTL = "-webkit-box" === u.wrapper.css("display")),
                    u.params.slidesPerColumn > 1 && u.classNames.push(u.params.containerModifierClass + "multirow"),
                    u.device.android && u.classNames.push(u.params.containerModifierClass + "android"),
                    u.container.addClass(u.classNames.join(" ")),
                    u.translate = 0,
                    u.progress = 0,
                    u.velocity = 0,
                    u.lockSwipeToNext = function() {
                        u.params.allowSwipeToNext = !1,
                        !1 === u.params.allowSwipeToPrev && u.params.grabCursor && u.unsetGrabCursor()
                    },
                    u.lockSwipeToPrev = function() {
                        u.params.allowSwipeToPrev = !1,
                        !1 === u.params.allowSwipeToNext && u.params.grabCursor && u.unsetGrabCursor()
                    },
                    u.lockSwipes = function() {
                        u.params.allowSwipeToNext = u.params.allowSwipeToPrev = !1,
                        u.params.grabCursor && u.unsetGrabCursor()
                    },
                    u.unlockSwipeToNext = function() {
                        u.params.allowSwipeToNext = !0,
                        !0 === u.params.allowSwipeToPrev && u.params.grabCursor && u.setGrabCursor()
                    },
                    u.unlockSwipeToPrev = function() {
                        u.params.allowSwipeToPrev = !0,
                        !0 === u.params.allowSwipeToNext && u.params.grabCursor && u.setGrabCursor()
                    },
                    u.unlockSwipes = function() {
                        u.params.allowSwipeToNext = u.params.allowSwipeToPrev = !0,
                        u.params.grabCursor && u.setGrabCursor()
                    },
                    u.setGrabCursor = function(e) {
                        u.container[0].style.cursor = "move",
                        u.container[0].style.cursor = e ? "-webkit-grabbing": "-webkit-grab",
                        u.container[0].style.cursor = e ? "-moz-grabbin": "-moz-grab",
                        u.container[0].style.cursor = e ? "grabbing": "grab"
                    },
                    u.unsetGrabCursor = function() {
                        u.container[0].style.cursor = ""
                    },
                    u.params.grabCursor && u.setGrabCursor(),
                    u.imagesToLoad = [],
                    u.imagesLoaded = 0,
                    u.loadImage = function(e, t, a, i, s, o) {
                        var r;
                        function n() {
                            o && o()
                        }
                        e.complete && s ? n() : t ? ((r = new window.Image).onload = n, r.onerror = n, i && (r.sizes = i), a && (r.srcset = a), t && (r.src = t)) : n()
                    },
                    u.preloadImages = function() {
                        function e() {
                            null != u && u && (void 0 !== u.imagesLoaded && u.imagesLoaded++, u.imagesLoaded === u.imagesToLoad.length && (u.params.updateOnImagesReady && u.update(), u.emit("onImagesReady", u)))
                        }
                        u.imagesToLoad = u.container.find("img");
                        for (var t = 0; t < u.imagesToLoad.length; t++) u.loadImage(u.imagesToLoad[t], u.imagesToLoad[t].currentSrc || u.imagesToLoad[t].getAttribute("src"), u.imagesToLoad[t].srcset || u.imagesToLoad[t].getAttribute("srcset"), u.imagesToLoad[t].sizes || u.imagesToLoad[t].getAttribute("sizes"), !0, e)
                    },
                    u.autoplayTimeoutId = void 0,
                    u.autoplaying = !1,
                    u.autoplayPaused = !1,
                    u.startAutoplay = function() {
                        return void 0 === u.autoplayTimeoutId && ( !! u.params.autoplay && (!u.autoplaying && (u.autoplaying = !0, u.emit("onAutoplayStart", u), void D())))
                    },
                    u.stopAutoplay = function(e) {
                        u.autoplayTimeoutId && (u.autoplayTimeoutId && clearTimeout(u.autoplayTimeoutId), u.autoplaying = !1, u.autoplayTimeoutId = void 0, u.emit("onAutoplayStop", u))
                    },
                    u.pauseAutoplay = function(e) {
                        u.autoplayPaused || (u.autoplayTimeoutId && clearTimeout(u.autoplayTimeoutId), u.autoplayPaused = !0, 0 === e ? (u.autoplayPaused = !1, D()) : u.wrapper.transitionEnd((function() {
                            u && (u.autoplayPaused = !1, u.autoplaying ? D() : u.stopAutoplay())
                        })))
                    },
                    u.minTranslate = function() {
                        return - u.snapGrid[0]
                    },
                    u.maxTranslate = function() {
                        return - u.snapGrid[u.snapGrid.length - 1]
                    },
                    u.updateAutoHeight = function() {
                        var e, t = [],
                        a = 0;
                        if ("auto" !== u.params.slidesPerView && u.params.slidesPerView > 1) for (e = 0; e < Math.ceil(u.params.slidesPerView); e++) {
                            var i = u.activeIndex + e;
                            if (i > u.slides.length) break;
                            t.push(u.slides.eq(i)[0])
                        } else t.push(u.slides.eq(u.activeIndex)[0]);
                        for (e = 0; e < t.length; e++) if (void 0 !== t[e]) {
                            var s = t[e].offsetHeight;
                            a = s > a ? s: a
                        }
                        a && u.wrapper.css("height", a + "px")
                    },
                    u.updateContainerSize = function() {
                        var e, t;
                        e = void 0 !== u.params.width ? u.params.width: u.container[0].clientWidth,
                        t = void 0 !== u.params.height ? u.params.height: u.container[0].clientHeight,
                        0 === e && u.isHorizontal() || 0 === t && !u.isHorizontal() || (e = e - parseInt(u.container.css("padding-left"), 10) - parseInt(u.container.css("padding-right"), 10), t = t - parseInt(u.container.css("padding-top"), 10) - parseInt(u.container.css("padding-bottom"), 10), u.width = e, u.height = t, u.size = u.isHorizontal() ? u.width: u.height)
                    },
                    u.updateSlidesSize = function() {
                        u.slides = u.wrapper.children("." + u.params.slideClass),
                        u.snapGrid = [],
                        u.slidesGrid = [],
                        u.slidesSizesGrid = [];
                        var e, t = u.params.spaceBetween,
                        a = -u.params.slidesOffsetBefore,
                        i = 0,
                        s = 0;
                        if (void 0 !== u.size) {
                            var o, r;
                            "string" == typeof t && t.indexOf("%") >= 0 && (t = parseFloat(t.replace("%", "")) / 100 * u.size),
                            u.virtualSize = -t,
                            u.rtl ? u.slides.css({
                                marginLeft: "",
                                marginTop: ""
                            }) : u.slides.css({
                                marginRight: "",
                                marginBottom: ""
                            }),
                            u.params.slidesPerColumn > 1 && (o = Math.floor(u.slides.length / u.params.slidesPerColumn) === u.slides.length / u.params.slidesPerColumn ? u.slides.length: Math.ceil(u.slides.length / u.params.slidesPerColumn) * u.params.slidesPerColumn, "auto" !== u.params.slidesPerView && "row" === u.params.slidesPerColumnFill && (o = Math.max(o, u.params.slidesPerView * u.params.slidesPerColumn)));
                            var n, l = u.params.slidesPerColumn,
                            d = o / l,
                            c = d - (u.params.slidesPerColumn * d - u.slides.length);
                            for (e = 0; e < u.slides.length; e++) {
                                r = 0;
                                var p, h, m, f = u.slides.eq(e);
                                if (u.params.slidesPerColumn > 1)"column" === u.params.slidesPerColumnFill ? (m = e - (h = Math.floor(e / l)) * l, (h > c || h === c && m === l - 1) && ++m >= l && (m = 0, h++), p = h + m * o / l, f.css({
                                    "-webkit-box-ordinal-group": p,
                                    "-moz-box-ordinal-group": p,
                                    "-ms-flex-order": p,
                                    "-webkit-order": p,
                                    order: p
                                })) : h = e - (m = Math.floor(e / d)) * d,
                                f.css("margin-" + (u.isHorizontal() ? "top": "left"), 0 !== m && u.params.spaceBetween && u.params.spaceBetween + "px").attr("data-swiper-column", h).attr("data-swiper-row", m);
                                "none" !== f.css("display") && ("auto" === u.params.slidesPerView ? (r = u.isHorizontal() ? f.outerWidth(!0) : f.outerHeight(!0), u.params.roundLengths && (r = M(r))) : (r = (u.size - (u.params.slidesPerView - 1) * t) / u.params.slidesPerView, u.params.roundLengths && (r = M(r)), u.isHorizontal() ? u.slides[e].style.width = r + "px": u.slides[e].style.height = r + "px"), u.slides[e].swiperSlideSize = r, u.slidesSizesGrid.push(r), u.params.centeredSlides ? (a = a + r / 2 + i / 2 + t, 0 === i && 0 !== e && (a = a - u.size / 2 - t), 0 === e && (a = a - u.size / 2 - t), Math.abs(a) < .001 && (a = 0), s % u.params.slidesPerGroup == 0 && u.snapGrid.push(a), u.slidesGrid.push(a)) : (s % u.params.slidesPerGroup == 0 && u.snapGrid.push(a), u.slidesGrid.push(a), a = a + r + t), u.virtualSize += r + t, i = r, s++)
                            }
                            if (u.virtualSize = Math.max(u.virtualSize, u.size) + u.params.slidesOffsetAfter, u.rtl && u.wrongRTL && ("slide" === u.params.effect || "coverflow" === u.params.effect) && u.wrapper.css({
                                width: u.virtualSize + u.params.spaceBetween + "px"
                            }), u.support.flexbox && !u.params.setWrapperSize || (u.isHorizontal() ? u.wrapper.css({
                                width: u.virtualSize + u.params.spaceBetween + "px"
                            }) : u.wrapper.css({
                                height: u.virtualSize + u.params.spaceBetween + "px"
                            })), u.params.slidesPerColumn > 1 && (u.virtualSize = (r + u.params.spaceBetween) * o, u.virtualSize = Math.ceil(u.virtualSize / u.params.slidesPerColumn) - u.params.spaceBetween, u.isHorizontal() ? u.wrapper.css({
                                width: u.virtualSize + u.params.spaceBetween + "px"
                            }) : u.wrapper.css({
                                height: u.virtualSize + u.params.spaceBetween + "px"
                            }), u.params.centeredSlides)) {
                                for (n = [], e = 0; e < u.snapGrid.length; e++) u.snapGrid[e] < u.virtualSize + u.snapGrid[0] && n.push(u.snapGrid[e]);
                                u.snapGrid = n
                            }
                            if (!u.params.centeredSlides) {
                                for (n = [], e = 0; e < u.snapGrid.length; e++) u.snapGrid[e] <= u.virtualSize - u.size && n.push(u.snapGrid[e]);
                                u.snapGrid = n,
                                Math.floor(u.virtualSize - u.size) - Math.floor(u.snapGrid[u.snapGrid.length - 1]) > 1 && u.snapGrid.push(u.virtualSize - u.size)
                            }
                            0 === u.snapGrid.length && (u.snapGrid = [0]),
                            0 !== u.params.spaceBetween && (u.isHorizontal() ? u.rtl ? u.slides.css({
                                marginLeft: t + "px"
                            }) : u.slides.css({
                                marginRight: t + "px"
                            }) : u.slides.css({
                                marginBottom: t + "px"
                            })),
                            u.params.watchSlidesProgress && u.updateSlidesOffset()
                        }
                    },
                    u.updateSlidesOffset = function() {
                        for (var e = 0; e < u.slides.length; e++) u.slides[e].swiperSlideOffset = u.isHorizontal() ? u.slides[e].offsetLeft: u.slides[e].offsetTop
                    },
                    u.currentSlidesPerView = function() {
                        var e, t, a = 1;
                        if (u.params.centeredSlides) {
                            var i, s = u.slides[u.activeIndex].swiperSlideSize;
                            for (e = u.activeIndex + 1; e < u.slides.length; e++) u.slides[e] && !i && (a++, (s += u.slides[e].swiperSlideSize) > u.size && (i = !0));
                            for (t = u.activeIndex - 1; t >= 0; t--) u.slides[t] && !i && (a++, (s += u.slides[t].swiperSlideSize) > u.size && (i = !0))
                        } else for (e = u.activeIndex + 1; e < u.slides.length; e++) u.slidesGrid[e] - u.slidesGrid[u.activeIndex] < u.size && a++;
                        return a
                    },
                    u.updateSlidesProgress = function(e) {
                        if (void 0 === e && (e = u.translate || 0), 0 !== u.slides.length) {
                            void 0 === u.slides[0].swiperSlideOffset && u.updateSlidesOffset();
                            var t = -e;
                            u.rtl && (t = e),
                            u.slides.removeClass(u.params.slideVisibleClass);
                            for (var a = 0; a < u.slides.length; a++) {
                                var i = u.slides[a],
                                s = (t + (u.params.centeredSlides ? u.minTranslate() : 0) - i.swiperSlideOffset) / (i.swiperSlideSize + u.params.spaceBetween);
                                if (u.params.watchSlidesVisibility) {
                                    var o = -(t - i.swiperSlideOffset),
                                    r = o + u.slidesSizesGrid[a]; (o >= 0 && o < u.size || r > 0 && r <= u.size || o <= 0 && r >= u.size) && u.slides.eq(a).addClass(u.params.slideVisibleClass)
                                }
                                i.progress = u.rtl ? -s: s
                            }
                        }
                    },
                    u.updateProgress = function(e) {
                        void 0 === e && (e = u.translate || 0);
                        var t = u.maxTranslate() - u.minTranslate(),
                        a = u.isBeginning,
                        i = u.isEnd;
                        0 === t ? (u.progress = 0, u.isBeginning = u.isEnd = !0) : (u.progress = (e - u.minTranslate()) / t, u.isBeginning = u.progress <= 0, u.isEnd = u.progress >= 1),
                        u.isBeginning && !a && u.emit("onReachBeginning", u),
                        u.isEnd && !i && u.emit("onReachEnd", u),
                        u.params.watchSlidesProgress && u.updateSlidesProgress(e),
                        u.emit("onProgress", u, u.progress)
                    },
                    u.updateActiveIndex = function() {
                        var e, t, a, i = u.rtl ? u.translate: -u.translate;
                        for (t = 0; t < u.slidesGrid.length; t++) void 0 !== u.slidesGrid[t + 1] ? i >= u.slidesGrid[t] && i < u.slidesGrid[t + 1] - (u.slidesGrid[t + 1] - u.slidesGrid[t]) / 2 ? e = t: i >= u.slidesGrid[t] && i < u.slidesGrid[t + 1] && (e = t + 1) : i >= u.slidesGrid[t] && (e = t);
                        u.params.normalizeSlideIndex && (e < 0 || void 0 === e) && (e = 0),
                        (a = Math.floor(e / u.params.slidesPerGroup)) >= u.snapGrid.length && (a = u.snapGrid.length - 1),
                        e !== u.activeIndex && (u.snapIndex = a, u.previousIndex = u.activeIndex, u.activeIndex = e, u.updateClasses(), u.updateRealIndex())
                    },
                    u.updateRealIndex = function() {
                        u.realIndex = parseInt(u.slides.eq(u.activeIndex).attr("data-swiper-slide-index") || u.activeIndex, 10)
                    },
                    u.updateClasses = function() {
                        u.slides.removeClass(u.params.slideActiveClass + " " + u.params.slideNextClass + " " + u.params.slidePrevClass + " " + u.params.slideDuplicateActiveClass + " " + u.params.slideDuplicateNextClass + " " + u.params.slideDuplicatePrevClass);
                        var t = u.slides.eq(u.activeIndex);
                        t.addClass(u.params.slideActiveClass),
                        s.loop && (t.hasClass(u.params.slideDuplicateClass) ? u.wrapper.children("." + u.params.slideClass + ":not(." + u.params.slideDuplicateClass + ')[data-swiper-slide-index="' + u.realIndex + '"]').addClass(u.params.slideDuplicateActiveClass) : u.wrapper.children("." + u.params.slideClass + "." + u.params.slideDuplicateClass + '[data-swiper-slide-index="' + u.realIndex + '"]').addClass(u.params.slideDuplicateActiveClass));
                        var a = t.next("." + u.params.slideClass).addClass(u.params.slideNextClass);
                        u.params.loop && 0 === a.length && (a = u.slides.eq(0)).addClass(u.params.slideNextClass);
                        var i = t.prev("." + u.params.slideClass).addClass(u.params.slidePrevClass);
                        if (u.params.loop && 0 === i.length && (i = u.slides.eq( - 1)).addClass(u.params.slidePrevClass), s.loop && (a.hasClass(u.params.slideDuplicateClass) ? u.wrapper.children("." + u.params.slideClass + ":not(." + u.params.slideDuplicateClass + ')[data-swiper-slide-index="' + a.attr("data-swiper-slide-index") + '"]').addClass(u.params.slideDuplicateNextClass) : u.wrapper.children("." + u.params.slideClass + "." + u.params.slideDuplicateClass + '[data-swiper-slide-index="' + a.attr("data-swiper-slide-index") + '"]').addClass(u.params.slideDuplicateNextClass), i.hasClass(u.params.slideDuplicateClass) ? u.wrapper.children("." + u.params.slideClass + ":not(." + u.params.slideDuplicateClass + ')[data-swiper-slide-index="' + i.attr("data-swiper-slide-index") + '"]').addClass(u.params.slideDuplicatePrevClass) : u.wrapper.children("." + u.params.slideClass + "." + u.params.slideDuplicateClass + '[data-swiper-slide-index="' + i.attr("data-swiper-slide-index") + '"]').addClass(u.params.slideDuplicatePrevClass)), u.paginationContainer && u.paginationContainer.length > 0) {
                            var o, r = u.params.loop ? Math.ceil((u.slides.length - 2 * u.loopedSlides) / u.params.slidesPerGroup) : u.snapGrid.length;
                            if (u.params.loop ? ((o = Math.ceil((u.activeIndex - u.loopedSlides) / u.params.slidesPerGroup)) > u.slides.length - 1 - 2 * u.loopedSlides && (o -= u.slides.length - 2 * u.loopedSlides), o > r - 1 && (o -= r), o < 0 && "bullets" !== u.params.paginationType && (o = r + o)) : o = void 0 !== u.snapIndex ? u.snapIndex: u.activeIndex || 0, "bullets" === u.params.paginationType && u.bullets && u.bullets.length > 0 && (u.bullets.removeClass(u.params.bulletActiveClass), u.paginationContainer.length > 1 ? u.bullets.each((function() {
                                e(this).index() === o && e(this).addClass(u.params.bulletActiveClass)
                            })) : u.bullets.eq(o).addClass(u.params.bulletActiveClass)), "fraction" === u.params.paginationType && (u.paginationContainer.find("." + u.params.paginationCurrentClass).text(o + 1), u.paginationContainer.find("." + u.params.paginationTotalClass).text(r)), "progress" === u.params.paginationType) {
                                var n = (o + 1) / r,
                                l = n,
                                d = 1;
                                u.isHorizontal() || (d = n, l = 1),
                                u.paginationContainer.find("." + u.params.paginationProgressbarClass).transform("translate3d(0,0,0) scaleX(" + l + ") scaleY(" + d + ")").transition(u.params.speed)
                            }
                            "custom" === u.params.paginationType && u.params.paginationCustomRender && (u.paginationContainer.html(u.params.paginationCustomRender(u, o + 1, r)), u.emit("onPaginationRendered", u, u.paginationContainer[0]))
                        }
                        u.params.loop || (u.params.prevButton && u.prevButton && u.prevButton.length > 0 && (u.isBeginning ? (u.prevButton.addClass(u.params.buttonDisabledClass), u.params.a11y && u.a11y && u.a11y.disable(u.prevButton)) : (u.prevButton.removeClass(u.params.buttonDisabledClass), u.params.a11y && u.a11y && u.a11y.enable(u.prevButton))), u.params.nextButton && u.nextButton && u.nextButton.length > 0 && (u.isEnd ? (u.nextButton.addClass(u.params.buttonDisabledClass), u.params.a11y && u.a11y && u.a11y.disable(u.nextButton)) : (u.nextButton.removeClass(u.params.buttonDisabledClass), u.params.a11y && u.a11y && u.a11y.enable(u.nextButton))))
                    },
                    u.updatePagination = function() {
                        if (u.params.pagination && u.paginationContainer && u.paginationContainer.length > 0) {
                            var e = "";
                            if ("bullets" === u.params.paginationType) {
                                for (var t = u.params.loop ? Math.ceil((u.slides.length - 2 * u.loopedSlides) / u.params.slidesPerGroup) : u.snapGrid.length, a = 0; a < t; a++) u.params.paginationBulletRender ? e += u.params.paginationBulletRender(u, a, u.params.bulletClass) : e += "<" + u.params.paginationElement + ' class="' + u.params.bulletClass + '"></' + u.params.paginationElement + ">";
                                u.paginationContainer.html(e),
                                u.bullets = u.paginationContainer.find("." + u.params.bulletClass),
                                u.params.paginationClickable && u.params.a11y && u.a11y && u.a11y.initPagination()
                            }
                            "fraction" === u.params.paginationType && (e = u.params.paginationFractionRender ? u.params.paginationFractionRender(u, u.params.paginationCurrentClass, u.params.paginationTotalClass) : '<span class="' + u.params.paginationCurrentClass + '"></span> / <span class="' + u.params.paginationTotalClass + '"></span>', u.paginationContainer.html(e)),
                            "progress" === u.params.paginationType && (e = u.params.paginationProgressRender ? u.params.paginationProgressRender(u, u.params.paginationProgressbarClass) : '<span class="' + u.params.paginationProgressbarClass + '"></span>', u.paginationContainer.html(e)),
                            "custom" !== u.params.paginationType && u.emit("onPaginationRendered", u, u.paginationContainer[0])
                        }
                    },
                    u.update = function(e) {
                        var t;
                        u && (u.updateContainerSize(), u.updateSlidesSize(), u.updateProgress(), u.updatePagination(), u.updateClasses(), u.params.scrollbar && u.scrollbar && u.scrollbar.set(), e ? (u.controller && u.controller.spline && (u.controller.spline = void 0), u.params.freeMode ? (a(), u.params.autoHeight && u.updateAutoHeight()) : (("auto" === u.params.slidesPerView || u.params.slidesPerView > 1) && u.isEnd && !u.params.centeredSlides ? u.slideTo(u.slides.length - 1, 0, !1, !0) : u.slideTo(u.activeIndex, 0, !1, !0)) || a()) : u.params.autoHeight && u.updateAutoHeight());
                        function a() {
                            u.rtl,
                            u.translate;
                            t = Math.min(Math.max(u.translate, u.maxTranslate()), u.minTranslate()),
                            u.setWrapperTranslate(t),
                            u.updateActiveIndex(),
                            u.updateClasses()
                        }
                    },
                    u.onResize = function(e) {
                        u.params.onBeforeResize && u.params.onBeforeResize(u),
                        u.params.breakpoints && u.setBreakpoint();
                        var t = u.params.allowSwipeToPrev,
                        a = u.params.allowSwipeToNext;
                        u.params.allowSwipeToPrev = u.params.allowSwipeToNext = !0,
                        u.updateContainerSize(),
                        u.updateSlidesSize(),
                        ("auto" === u.params.slidesPerView || u.params.freeMode || e) && u.updatePagination(),
                        u.params.scrollbar && u.scrollbar && u.scrollbar.set(),
                        u.controller && u.controller.spline && (u.controller.spline = void 0);
                        var i = !1;
                        if (u.params.freeMode) {
                            var s = Math.min(Math.max(u.translate, u.maxTranslate()), u.minTranslate());
                            u.setWrapperTranslate(s),
                            u.updateActiveIndex(),
                            u.updateClasses(),
                            u.params.autoHeight && u.updateAutoHeight()
                        } else u.updateClasses(),
                        i = ("auto" === u.params.slidesPerView || u.params.slidesPerView > 1) && u.isEnd && !u.params.centeredSlides ? u.slideTo(u.slides.length - 1, 0, !1, !0) : u.slideTo(u.activeIndex, 0, !1, !0);
                        u.params.lazyLoading && !i && u.lazy && u.lazy.load(),
                        u.params.allowSwipeToPrev = t,
                        u.params.allowSwipeToNext = a,
                        u.params.onAfterResize && u.params.onAfterResize(u)
                    },
                    u.touchEventsDesktop = {
                        start: "mousedown",
                        move: "mousemove",
                        end: "mouseup"
                    },
                    window.navigator.pointerEnabled ? u.touchEventsDesktop = {
                        start: "pointerdown",
                        move: "pointermove",
                        end: "pointerup"
                    }: window.navigator.msPointerEnabled && (u.touchEventsDesktop = {
                        start: "MSPointerDown",
                        move: "MSPointerMove",
                        end: "MSPointerUp"
                    }),
                    u.touchEvents = {
                        start: u.support.touch || !u.params.simulateTouch ? "touchstart": u.touchEventsDesktop.start,
                        move: u.support.touch || !u.params.simulateTouch ? "touchmove": u.touchEventsDesktop.move,
                        end: u.support.touch || !u.params.simulateTouch ? "touchend": u.touchEventsDesktop.end
                    },
                    (window.navigator.pointerEnabled || window.navigator.msPointerEnabled) && ("container" === u.params.touchEventsTarget ? u.container: u.wrapper).addClass("swiper-wp8-" + u.params.direction),
                    u.initEvents = function(e) {
                        var t = e ? "off": "on",
                        a = e ? "removeEventListener": "addEventListener",
                        i = "container" === u.params.touchEventsTarget ? u.container[0] : u.wrapper[0],
                        o = u.support.touch ? i: document,
                        r = !!u.params.nested;
                        if (u.browser.ie) i[a](u.touchEvents.start, u.onTouchStart, !1),
                        o[a](u.touchEvents.move, u.onTouchMove, r),
                        o[a](u.touchEvents.end, u.onTouchEnd, !1);
                        else {
                            if (u.support.touch) {
                                var n = !("touchstart" !== u.touchEvents.start || !u.support.passiveListener || !u.params.passiveListeners) && {
                                    passive: !0,
                                    capture: !1
                                };
                                i[a](u.touchEvents.start, u.onTouchStart, n),
                                i[a](u.touchEvents.move, u.onTouchMove, r),
                                i[a](u.touchEvents.end, u.onTouchEnd, n)
                            } (s.simulateTouch && !u.device.ios && !u.device.android || s.simulateTouch && !u.support.touch && u.device.ios) && (i[a]("mousedown", u.onTouchStart, !1), document[a]("mousemove", u.onTouchMove, r), document[a]("mouseup", u.onTouchEnd, !1))
                        }
                        window[a]("resize", u.onResize),
                        u.params.nextButton && u.nextButton && u.nextButton.length > 0 && (u.nextButton[t]("click", u.onClickNext), u.params.a11y && u.a11y && u.nextButton[t]("keydown", u.a11y.onEnterKey)),
                        u.params.prevButton && u.prevButton && u.prevButton.length > 0 && (u.prevButton[t]("click", u.onClickPrev), u.params.a11y && u.a11y && u.prevButton[t]("keydown", u.a11y.onEnterKey)),
                        u.params.pagination && u.params.paginationClickable && (u.paginationContainer[t]("click", "." + u.params.bulletClass, u.onClickIndex), u.params.a11y && u.a11y && u.paginationContainer[t]("keydown", "." + u.params.bulletClass, u.a11y.onEnterKey)),
                        (u.params.preventClicks || u.params.preventClicksPropagation) && i[a]("click", u.preventClicks, !0)
                    },
                    u.attachEvents = function() {
                        u.initEvents()
                    },
                    u.detachEvents = function() {
                        u.initEvents(!0)
                    },
                    u.allowClick = !0,
                    u.preventClicks = function(e) {
                        u.allowClick || (u.params.preventClicks && e.preventDefault(), u.params.preventClicksPropagation && u.animating && (e.stopPropagation(), e.stopImmediatePropagation()))
                    },
                    u.onClickNext = function(e) {
                        e.preventDefault(),
                        u.isEnd && !u.params.loop || u.slideNext()
                    },
                    u.onClickPrev = function(e) {
                        e.preventDefault(),
                        u.isBeginning && !u.params.loop || u.slidePrev()
                    },
                    u.onClickIndex = function(t) {
                        t.preventDefault();
                        var a = e(this).index() * u.params.slidesPerGroup;
                        u.params.loop && (a += u.loopedSlides),
                        u.slideTo(a)
                    },
                    u.updateClickedSlide = function(t) {
                        var a = z(t, "." + u.params.slideClass),
                        i = !1;
                        if (a) for (var s = 0; s < u.slides.length; s++) u.slides[s] === a && (i = !0);
                        if (!a || !i) return u.clickedSlide = void 0,
                        void(u.clickedIndex = void 0);
                        if (u.clickedSlide = a, u.clickedIndex = e(a).index(), u.params.slideToClickedSlide && void 0 !== u.clickedIndex && u.clickedIndex !== u.activeIndex) {
                            var o, r = u.clickedIndex,
                            n = "auto" === u.params.slidesPerView ? u.currentSlidesPerView() : u.params.slidesPerView;
                            if (u.params.loop) {
                                if (u.animating) return;
                                o = parseInt(e(u.clickedSlide).attr("data-swiper-slide-index"), 10),
                                u.params.centeredSlides ? r < u.loopedSlides - n / 2 || r > u.slides.length - u.loopedSlides + n / 2 ? (u.fixLoop(), r = u.wrapper.children("." + u.params.slideClass + '[data-swiper-slide-index="' + o + '"]:not(.' + u.params.slideDuplicateClass + ")").eq(0).index(), setTimeout((function() {
                                    u.slideTo(r)
                                }), 0)) : u.slideTo(r) : r > u.slides.length - n ? (u.fixLoop(), r = u.wrapper.children("." + u.params.slideClass + '[data-swiper-slide-index="' + o + '"]:not(.' + u.params.slideDuplicateClass + ")").eq(0).index(), setTimeout((function() {
                                    u.slideTo(r)
                                }), 0)) : u.slideTo(r)
                            } else u.slideTo(r)
                        }
                    };
                    var m, f, g, v, w, y, b, x, T, C, S, _, k = "input, select, textarea, button, video",
                    P = Date.now(),
                    E = [];
                    for (var I in u.animating = !1,
                    u.touches = {
                        startX: 0,
                        startY: 0,
                        currentX: 0,
                        currentY: 0,
                        diff: 0
                    },
                    u.onTouchStart = function(t) {
                        if (t.originalEvent && (t = t.originalEvent), (S = "touchstart" === t.type) || !("which" in t) || 3 !== t.which) if (u.params.noSwiping && z(t, "." + u.params.noSwipingClass)) u.allowClick = !0;
                        else if (!u.params.swipeHandler || z(t, u.params.swipeHandler)) {
                            var a = u.touches.currentX = "touchstart" === t.type ? t.targetTouches[0].pageX: t.pageX,
                            i = u.touches.currentY = "touchstart" === t.type ? t.targetTouches[0].pageY: t.pageY;
                            if (! (u.device.ios && u.params.iOSEdgeSwipeDetection && a <= u.params.iOSEdgeSwipeThreshold)) {
                                if (m = !0, f = !1, g = !0, w = void 0, _ = void 0, u.touches.startX = a, u.touches.startY = i, v = Date.now(), u.allowClick = !0, u.updateContainerSize(), u.swipeDirection = void 0, u.params.threshold > 0 && (x = !1), "touchstart" !== t.type) {
                                    var s = !0;
                                    e(t.target).is(k) && (s = !1),
                                    document.activeElement && e(document.activeElement).is(k) && document.activeElement.blur(),
                                    s && t.preventDefault()
                                }
                                u.emit("onTouchStart", u, t)
                            }
                        }
                    },
                    u.onTouchMove = function(t) {
                        if (t.originalEvent && (t = t.originalEvent), !S || "mousemove" !== t.type) {
                            if (t.preventedByNestedSwiper) return u.touches.startX = "touchmove" === t.type ? t.targetTouches[0].pageX: t.pageX,
                            void(u.touches.startY = "touchmove" === t.type ? t.targetTouches[0].pageY: t.pageY);
                            if (u.params.onlyExternal) return u.allowClick = !1,
                            void(m && (u.touches.startX = u.touches.currentX = "touchmove" === t.type ? t.targetTouches[0].pageX: t.pageX, u.touches.startY = u.touches.currentY = "touchmove" === t.type ? t.targetTouches[0].pageY: t.pageY, v = Date.now()));
                            if (S && u.params.touchReleaseOnEdges && !u.params.loop) if (u.isHorizontal()) {
                                if (u.touches.currentX < u.touches.startX && u.translate <= u.maxTranslate() || u.touches.currentX > u.touches.startX && u.translate >= u.minTranslate()) return
                            } else if (u.touches.currentY < u.touches.startY && u.translate <= u.maxTranslate() || u.touches.currentY > u.touches.startY && u.translate >= u.minTranslate()) return;
                            if (S && document.activeElement && t.target === document.activeElement && e(t.target).is(k)) return f = !0,
                            void(u.allowClick = !1);
                            if (g && u.emit("onTouchMove", u, t), !(t.targetTouches && t.targetTouches.length > 1)) {
                                var a;
                                if (u.touches.currentX = "touchmove" === t.type ? t.targetTouches[0].pageX: t.pageX, u.touches.currentY = "touchmove" === t.type ? t.targetTouches[0].pageY: t.pageY, void 0 === w) u.isHorizontal() && u.touches.currentY === u.touches.startY || !u.isHorizontal() && u.touches.currentX === u.touches.startX ? w = !1 : (a = 180 * Math.atan2(Math.abs(u.touches.currentY - u.touches.startY), Math.abs(u.touches.currentX - u.touches.startX)) / Math.PI, w = u.isHorizontal() ? a > u.params.touchAngle: 90 - a > u.params.touchAngle);
                                if (w && u.emit("onTouchMoveOpposite", u, t), void 0 === _ && (u.touches.currentX === u.touches.startX && u.touches.currentY === u.touches.startY || (_ = !0)), m) if (w) m = !1;
                                else if (_) {
                                    u.allowClick = !1,
                                    u.emit("onSliderMove", u, t),
                                    t.preventDefault(),
                                    u.params.touchMoveStopPropagation && !u.params.nested && t.stopPropagation(),
                                    f || (s.loop && u.fixLoop(), b = u.getWrapperTranslate(), u.setWrapperTransition(0), u.animating && u.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"), u.params.autoplay && u.autoplaying && (u.params.autoplayDisableOnInteraction ? u.stopAutoplay() : u.pauseAutoplay()), C = !1, !u.params.grabCursor || !0 !== u.params.allowSwipeToNext && !0 !== u.params.allowSwipeToPrev || u.setGrabCursor(!0)),
                                    f = !0;
                                    var i = u.touches.diff = u.isHorizontal() ? u.touches.currentX - u.touches.startX: u.touches.currentY - u.touches.startY;
                                    i *= u.params.touchRatio,
                                    u.rtl && (i = -i),
                                    u.swipeDirection = i > 0 ? "prev": "next",
                                    y = i + b;
                                    var o = !0;
                                    if (i > 0 && y > u.minTranslate() ? (o = !1, u.params.resistance && (y = u.minTranslate() - 1 + Math.pow( - u.minTranslate() + b + i, u.params.resistanceRatio))) : i < 0 && y < u.maxTranslate() && (o = !1, u.params.resistance && (y = u.maxTranslate() + 1 - Math.pow(u.maxTranslate() - b - i, u.params.resistanceRatio))), o && (t.preventedByNestedSwiper = !0), !u.params.allowSwipeToNext && "next" === u.swipeDirection && y < b && (y = b), !u.params.allowSwipeToPrev && "prev" === u.swipeDirection && y > b && (y = b), u.params.threshold > 0) {
                                        if (! (Math.abs(i) > u.params.threshold || x)) return void(y = b);
                                        if (!x) return x = !0,
                                        u.touches.startX = u.touches.currentX,
                                        u.touches.startY = u.touches.currentY,
                                        y = b,
                                        void(u.touches.diff = u.isHorizontal() ? u.touches.currentX - u.touches.startX: u.touches.currentY - u.touches.startY)
                                    }
                                    u.params.followFinger && ((u.params.freeMode || u.params.watchSlidesProgress) && u.updateActiveIndex(), u.params.freeMode && (0 === E.length && E.push({
                                        position: u.touches[u.isHorizontal() ? "startX": "startY"],
                                        time: v
                                    }), E.push({
                                        position: u.touches[u.isHorizontal() ? "currentX": "currentY"],
                                        time: (new window.Date).getTime()
                                    })), u.updateProgress(y), u.setWrapperTranslate(y))
                                }
                            }
                        }
                    },
                    u.onTouchEnd = function(t) {
                        if (t.originalEvent && (t = t.originalEvent), g && u.emit("onTouchEnd", u, t), g = !1, m) {
                            u.params.grabCursor && f && m && (!0 === u.params.allowSwipeToNext || !0 === u.params.allowSwipeToPrev) && u.setGrabCursor(!1);
                            var a, i = Date.now(),
                            s = i - v;
                            if (u.allowClick && (u.updateClickedSlide(t), u.emit("onTap", u, t), s < 300 && i - P > 300 && (T && clearTimeout(T), T = setTimeout((function() {
                                u && (u.params.paginationHide && u.paginationContainer.length > 0 && !e(t.target).hasClass(u.params.bulletClass) && u.paginationContainer.toggleClass(u.params.paginationHiddenClass), u.emit("onClick", u, t))
                            }), 300)), s < 300 && i - P < 300 && (T && clearTimeout(T), u.emit("onDoubleTap", u, t))), P = Date.now(), setTimeout((function() {
                                u && (u.allowClick = !0)
                            }), 0), m && f && u.swipeDirection && 0 !== u.touches.diff && y !== b) if (m = f = !1, a = u.params.followFinger ? u.rtl ? u.translate: -u.translate: -y, u.params.freeMode) {
                                if (a < -u.minTranslate()) return void u.slideTo(u.activeIndex);
                                if (a > -u.maxTranslate()) return void(u.slides.length < u.snapGrid.length ? u.slideTo(u.snapGrid.length - 1) : u.slideTo(u.slides.length - 1));
                                if (u.params.freeModeMomentum) {
                                    if (E.length > 1) {
                                        var o = E.pop(),
                                        r = E.pop(),
                                        n = o.position - r.position,
                                        l = o.time - r.time;
                                        u.velocity = n / l,
                                        u.velocity = u.velocity / 2,
                                        Math.abs(u.velocity) < u.params.freeModeMinimumVelocity && (u.velocity = 0),
                                        (l > 150 || (new window.Date).getTime() - o.time > 300) && (u.velocity = 0)
                                    } else u.velocity = 0;
                                    u.velocity = u.velocity * u.params.freeModeMomentumVelocityRatio,
                                    E.length = 0;
                                    var d = 1e3 * u.params.freeModeMomentumRatio,
                                    c = u.velocity * d,
                                    p = u.translate + c;
                                    u.rtl && (p = -p);
                                    var h, w = !1,
                                    x = 20 * Math.abs(u.velocity) * u.params.freeModeMomentumBounceRatio;
                                    if (p < u.maxTranslate()) u.params.freeModeMomentumBounce ? (p + u.maxTranslate() < -x && (p = u.maxTranslate() - x), h = u.maxTranslate(), w = !0, C = !0) : p = u.maxTranslate();
                                    else if (p > u.minTranslate()) u.params.freeModeMomentumBounce ? (p - u.minTranslate() > x && (p = u.minTranslate() + x), h = u.minTranslate(), w = !0, C = !0) : p = u.minTranslate();
                                    else if (u.params.freeModeSticky) {
                                        var S, _ = 0;
                                        for (_ = 0; _ < u.snapGrid.length; _ += 1) if (u.snapGrid[_] > -p) {
                                            S = _;
                                            break
                                        }
                                        p = Math.abs(u.snapGrid[S] - p) < Math.abs(u.snapGrid[S - 1] - p) || "next" === u.swipeDirection ? u.snapGrid[S] : u.snapGrid[S - 1],
                                        u.rtl || (p = -p)
                                    }
                                    if (0 !== u.velocity) d = u.rtl ? Math.abs(( - p - u.translate) / u.velocity) : Math.abs((p - u.translate) / u.velocity);
                                    else if (u.params.freeModeSticky) return void u.slideReset();
                                    u.params.freeModeMomentumBounce && w ? (u.updateProgress(h), u.setWrapperTransition(d), u.setWrapperTranslate(p), u.onTransitionStart(), u.animating = !0, u.wrapper.transitionEnd((function() {
                                        u && C && (u.emit("onMomentumBounce", u), u.setWrapperTransition(u.params.speed), u.setWrapperTranslate(h), u.wrapper.transitionEnd((function() {
                                            u && u.onTransitionEnd()
                                        })))
                                    }))) : u.velocity ? (u.updateProgress(p), u.setWrapperTransition(d), u.setWrapperTranslate(p), u.onTransitionStart(), u.animating || (u.animating = !0, u.wrapper.transitionEnd((function() {
                                        u && u.onTransitionEnd()
                                    })))) : u.updateProgress(p),
                                    u.updateActiveIndex()
                                } (!u.params.freeModeMomentum || s >= u.params.longSwipesMs) && (u.updateProgress(), u.updateActiveIndex())
                            } else {
                                var k, I = 0,
                                j = u.slidesSizesGrid[0];
                                for (k = 0; k < u.slidesGrid.length; k += u.params.slidesPerGroup) void 0 !== u.slidesGrid[k + u.params.slidesPerGroup] ? a >= u.slidesGrid[k] && a < u.slidesGrid[k + u.params.slidesPerGroup] && (I = k, j = u.slidesGrid[k + u.params.slidesPerGroup] - u.slidesGrid[k]) : a >= u.slidesGrid[k] && (I = k, j = u.slidesGrid[u.slidesGrid.length - 1] - u.slidesGrid[u.slidesGrid.length - 2]);
                                var M = (a - u.slidesGrid[I]) / j;
                                if (s > u.params.longSwipesMs) {
                                    if (!u.params.longSwipes) return void u.slideTo(u.activeIndex);
                                    "next" === u.swipeDirection && (M >= u.params.longSwipesRatio ? u.slideTo(I + u.params.slidesPerGroup) : u.slideTo(I)),
                                    "prev" === u.swipeDirection && (M > 1 - u.params.longSwipesRatio ? u.slideTo(I + u.params.slidesPerGroup) : u.slideTo(I))
                                } else {
                                    if (!u.params.shortSwipes) return void u.slideTo(u.activeIndex);
                                    "next" === u.swipeDirection && u.slideTo(I + u.params.slidesPerGroup),
                                    "prev" === u.swipeDirection && u.slideTo(I)
                                }
                            } else m = f = !1
                        }
                    },
                    u._slideTo = function(e, t) {
                        return u.slideTo(e, t, !0, !0)
                    },
                    u.slideTo = function(e, t, a, i) {
                        void 0 === a && (a = !0),
                        void 0 === e && (e = 0),
                        e < 0 && (e = 0),
                        u.snapIndex = Math.floor(e / u.params.slidesPerGroup),
                        u.snapIndex >= u.snapGrid.length && (u.snapIndex = u.snapGrid.length - 1);
                        var s = -u.snapGrid[u.snapIndex];
                        if (u.params.autoplay && u.autoplaying && (i || !u.params.autoplayDisableOnInteraction ? u.pauseAutoplay(t) : u.stopAutoplay()), u.updateProgress(s), u.params.normalizeSlideIndex) for (var o = 0; o < u.slidesGrid.length; o++) - Math.floor(100 * s) >= Math.floor(100 * u.slidesGrid[o]) && (e = o);
                        return ! (!u.params.allowSwipeToNext && s < u.translate && s < u.minTranslate()) && (!(!u.params.allowSwipeToPrev && s > u.translate && s > u.maxTranslate() && (u.activeIndex || 0) !== e) && (void 0 === t && (t = u.params.speed), u.previousIndex = u.activeIndex || 0, u.activeIndex = e, u.updateRealIndex(), u.rtl && -s === u.translate || !u.rtl && s === u.translate ? (u.params.autoHeight && u.updateAutoHeight(), u.updateClasses(), "slide" !== u.params.effect && u.setWrapperTranslate(s), !1) : (u.updateClasses(), u.onTransitionStart(a), 0 === t || u.browser.lteIE9 ? (u.setWrapperTranslate(s), u.setWrapperTransition(0), u.onTransitionEnd(a)) : (u.setWrapperTranslate(s), u.setWrapperTransition(t), u.animating || (u.animating = !0, u.wrapper.transitionEnd((function() {
                            u && u.onTransitionEnd(a)
                        })))), !0)))
                    },
                    u.onTransitionStart = function(e) {
                        void 0 === e && (e = !0),
                        u.params.autoHeight && u.updateAutoHeight(),
                        u.lazy && u.lazy.onTransitionStart(),
                        e && (u.emit("onTransitionStart", u), u.activeIndex !== u.previousIndex && (u.emit("onSlideChangeStart", u), u.activeIndex > u.previousIndex ? u.emit("onSlideNextStart", u) : u.emit("onSlidePrevStart", u)))
                    },
                    u.onTransitionEnd = function(e) {
                        u.animating = !1,
                        u.setWrapperTransition(0),
                        void 0 === e && (e = !0),
                        u.lazy && u.lazy.onTransitionEnd(),
                        e && (u.emit("onTransitionEnd", u), u.activeIndex !== u.previousIndex && (u.emit("onSlideChangeEnd", u), u.activeIndex > u.previousIndex ? u.emit("onSlideNextEnd", u) : u.emit("onSlidePrevEnd", u))),
                        u.params.history && u.history && u.history.setHistory(u.params.history, u.activeIndex),
                        u.params.hashnav && u.hashnav && u.hashnav.setHash()
                    },
                    u.slideNext = function(e, t, a) {
                        if (u.params.loop) {
                            if (u.animating) return ! 1;
                            u.fixLoop();
                            u.container[0].clientLeft;
                            return u.slideTo(u.activeIndex + u.params.slidesPerGroup, t, e, a)
                        }
                        return u.slideTo(u.activeIndex + u.params.slidesPerGroup, t, e, a)
                    },
                    u._slideNext = function(e) {
                        return u.slideNext(!0, e, !0)
                    },
                    u.slidePrev = function(e, t, a) {
                        if (u.params.loop) {
                            if (u.animating) return ! 1;
                            u.fixLoop();
                            u.container[0].clientLeft;
                            return u.slideTo(u.activeIndex - 1, t, e, a)
                        }
                        return u.slideTo(u.activeIndex - 1, t, e, a)
                    },
                    u._slidePrev = function(e) {
                        return u.slidePrev(!0, e, !0)
                    },
                    u.slideReset = function(e, t, a) {
                        return u.slideTo(u.activeIndex, t, e)
                    },
                    u.disableTouchControl = function() {
                        return u.params.onlyExternal = !0,
                        !0
                    },
                    u.enableTouchControl = function() {
                        return u.params.onlyExternal = !1,
                        !0
                    },
                    u.setWrapperTransition = function(e, t) {
                        u.wrapper.transition(e),
                        "slide" !== u.params.effect && u.effects[u.params.effect] && u.effects[u.params.effect].setTransition(e),
                        u.params.parallax && u.parallax && u.parallax.setTransition(e),
                        u.params.scrollbar && u.scrollbar && u.scrollbar.setTransition(e),
                        u.params.control && u.controller && u.controller.setTransition(e, t),
                        u.emit("onSetTransition", u, e)
                    },
                    u.setWrapperTranslate = function(e, t, a) {
                        var i = 0,
                        s = 0;
                        u.isHorizontal() ? i = u.rtl ? -e: e: s = e,
                        u.params.roundLengths && (i = M(i), s = M(s)),
                        u.params.virtualTranslate || (u.support.transforms3d ? u.wrapper.transform("translate3d(" + i + "px, " + s + "px, 0px)") : u.wrapper.transform("translate(" + i + "px, " + s + "px)")),
                        u.translate = u.isHorizontal() ? i: s;
                        var o = u.maxTranslate() - u.minTranslate(); (0 === o ? 0 : (e - u.minTranslate()) / o) !== u.progress && u.updateProgress(e),
                        t && u.updateActiveIndex(),
                        "slide" !== u.params.effect && u.effects[u.params.effect] && u.effects[u.params.effect].setTranslate(u.translate),
                        u.params.parallax && u.parallax && u.parallax.setTranslate(u.translate),
                        u.params.scrollbar && u.scrollbar && u.scrollbar.setTranslate(u.translate),
                        u.params.control && u.controller && u.controller.setTranslate(u.translate, a),
                        u.emit("onSetTranslate", u, u.translate)
                    },
                    u.getTranslate = function(e, t) {
                        var a, i, s, o;
                        return void 0 === t && (t = "x"),
                        u.params.virtualTranslate ? u.rtl ? -u.translate: u.translate: (s = window.getComputedStyle(e, null), window.WebKitCSSMatrix ? ((i = s.transform || s.webkitTransform).split(",").length > 6 && (i = i.split(", ").map((function(e) {
                            return e.replace(",", ".")
                        })).join(", ")), o = new window.WebKitCSSMatrix("none" === i ? "": i)) : a = (o = s.MozTransform || s.OTransform || s.MsTransform || s.msTransform || s.transform || s.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,")).toString().split(","), "x" === t && (i = window.WebKitCSSMatrix ? o.m41: 16 === a.length ? parseFloat(a[12]) : parseFloat(a[4])), "y" === t && (i = window.WebKitCSSMatrix ? o.m42: 16 === a.length ? parseFloat(a[13]) : parseFloat(a[5])), u.rtl && i && (i = -i), i || 0)
                    },
                    u.getWrapperTranslate = function(e) {
                        return void 0 === e && (e = u.isHorizontal() ? "x": "y"),
                        u.getTranslate(u.wrapper[0], e)
                    },
                    u.observers = [], u.initObservers = function() {
                        if (u.params.observeParents) for (var e = u.container.parents(), t = 0; t < e.length; t++) A(e[t]);
                        A(u.container[0], {
                            childList: !1
                        }),
                        A(u.wrapper[0], {
                            attributes: !1
                        })
                    },
                    u.disconnectObservers = function() {
                        for (var e = 0; e < u.observers.length; e++) u.observers[e].disconnect();
                        u.observers = []
                    },
                    u.createLoop = function() {
                        u.wrapper.children("." + u.params.slideClass + "." + u.params.slideDuplicateClass).remove();
                        var t = u.wrapper.children("." + u.params.slideClass);
                        "auto" !== u.params.slidesPerView || u.params.loopedSlides || (u.params.loopedSlides = t.length),
                        u.loopedSlides = parseInt(u.params.loopedSlides || u.params.slidesPerView, 10),
                        u.loopedSlides = u.loopedSlides + u.params.loopAdditionalSlides,
                        u.loopedSlides > t.length && (u.loopedSlides = t.length);
                        var a, i = [],
                        s = [];
                        for (t.each((function(a, o) {
                            var r = e(this);
                            a < u.loopedSlides && s.push(o),
                            a < t.length && a >= t.length - u.loopedSlides && i.push(o),
                            r.attr("data-swiper-slide-index", a)
                        })), a = 0; a < s.length; a++) u.wrapper.append(e(s[a].cloneNode(!0)).addClass(u.params.slideDuplicateClass));
                        for (a = i.length - 1; a >= 0; a--) u.wrapper.prepend(e(i[a].cloneNode(!0)).addClass(u.params.slideDuplicateClass))
                    },
                    u.destroyLoop = function() {
                        u.wrapper.children("." + u.params.slideClass + "." + u.params.slideDuplicateClass).remove(),
                        u.slides.removeAttr("data-swiper-slide-index")
                    },
                    u.reLoop = function(e) {
                        var t = u.activeIndex - u.loopedSlides;
                        u.destroyLoop(),
                        u.createLoop(),
                        u.updateSlidesSize(),
                        e && u.slideTo(t + u.loopedSlides, 0, !1)
                    },
                    u.fixLoop = function() {
                        var e;
                        u.activeIndex < u.loopedSlides ? (e = u.slides.length - 3 * u.loopedSlides + u.activeIndex, e += u.loopedSlides, u.slideTo(e, 0, !1, !0)) : ("auto" === u.params.slidesPerView && u.activeIndex >= 2 * u.loopedSlides || u.activeIndex > u.slides.length - 2 * u.params.slidesPerView) && (e = -u.slides.length + u.activeIndex + u.loopedSlides, e += u.loopedSlides, u.slideTo(e, 0, !1, !0))
                    },
                    u.appendSlide = function(e) {
                        if (u.params.loop && u.destroyLoop(), "object" === i(e) && e.length) for (var t = 0; t < e.length; t++) e[t] && u.wrapper.append(e[t]);
                        else u.wrapper.append(e);
                        u.params.loop && u.createLoop(),
                        u.params.observer && u.support.observer || u.update(!0)
                    },
                    u.prependSlide = function(e) {
                        u.params.loop && u.destroyLoop();
                        var t = u.activeIndex + 1;
                        if ("object" === i(e) && e.length) {
                            for (var a = 0; a < e.length; a++) e[a] && u.wrapper.prepend(e[a]);
                            t = u.activeIndex + e.length
                        } else u.wrapper.prepend(e);
                        u.params.loop && u.createLoop(),
                        u.params.observer && u.support.observer || u.update(!0),
                        u.slideTo(t, 0, !1)
                    },
                    u.removeSlide = function(e) {
                        u.params.loop && (u.destroyLoop(), u.slides = u.wrapper.children("." + u.params.slideClass));
                        var t, a = u.activeIndex;
                        if ("object" === i(e) && e.length) {
                            for (var s = 0; s < e.length; s++) t = e[s],
                            u.slides[t] && u.slides.eq(t).remove(),
                            t < a && a--;
                            a = Math.max(a, 0)
                        } else t = e,
                        u.slides[t] && u.slides.eq(t).remove(),
                        t < a && a--,
                        a = Math.max(a, 0);
                        u.params.loop && u.createLoop(),
                        u.params.observer && u.support.observer || u.update(!0),
                        u.params.loop ? u.slideTo(a + u.loopedSlides, 0, !1) : u.slideTo(a, 0, !1)
                    },
                    u.removeAllSlides = function() {
                        for (var e = [], t = 0; t < u.slides.length; t++) e.push(t);
                        u.removeSlide(e)
                    },
                    u.effects = {
                        fade: {
                            setTranslate: function() {
                                for (var e = 0; e < u.slides.length; e++) {
                                    var t = u.slides.eq(e),
                                    a = -t[0].swiperSlideOffset;
                                    u.params.virtualTranslate || (a -= u.translate);
                                    var i = 0;
                                    u.isHorizontal() || (i = a, a = 0);
                                    var s = u.params.fade.crossFade ? Math.max(1 - Math.abs(t[0].progress), 0) : 1 + Math.min(Math.max(t[0].progress, -1), 0);
                                    t.css({
                                        opacity: s
                                    }).transform("translate3d(" + a + "px, " + i + "px, 0px)")
                                }
                            },
                            setTransition: function(e) {
                                if (u.slides.transition(e), u.params.virtualTranslate && 0 !== e) {
                                    var t = !1;
                                    u.slides.transitionEnd((function() {
                                        if (!t && u) {
                                            t = !0,
                                            u.animating = !1;
                                            for (var e = ["webkitTransitionEnd", "transitionend", "oTransitionEnd", "MSTransitionEnd", "msTransitionEnd"], a = 0; a < e.length; a++) u.wrapper.trigger(e[a])
                                        }
                                    }))
                                }
                            }
                        },
                        flip: {
                            setTranslate: function() {
                                for (var t = 0; t < u.slides.length; t++) {
                                    var a = u.slides.eq(t),
                                    i = a[0].progress;
                                    u.params.flip.limitRotation && (i = Math.max(Math.min(a[0].progress, 1), -1));
                                    var s = -180 * i,
                                    o = 0,
                                    r = -a[0].swiperSlideOffset,
                                    n = 0;
                                    if (u.isHorizontal() ? u.rtl && (s = -s) : (n = r, r = 0, o = -s, s = 0), a[0].style.zIndex = -Math.abs(Math.round(i)) + u.slides.length, u.params.flip.slideShadows) {
                                        var l = u.isHorizontal() ? a.find(".swiper-slide-shadow-left") : a.find(".swiper-slide-shadow-top"),
                                        d = u.isHorizontal() ? a.find(".swiper-slide-shadow-right") : a.find(".swiper-slide-shadow-bottom");
                                        0 === l.length && (l = e('<div class="swiper-slide-shadow-' + (u.isHorizontal() ? "left": "top") + '"></div>'), a.append(l)),
                                        0 === d.length && (d = e('<div class="swiper-slide-shadow-' + (u.isHorizontal() ? "right": "bottom") + '"></div>'), a.append(d)),
                                        l.length && (l[0].style.opacity = Math.max( - i, 0)),
                                        d.length && (d[0].style.opacity = Math.max(i, 0))
                                    }
                                    a.transform("translate3d(" + r + "px, " + n + "px, 0px) rotateX(" + o + "deg) rotateY(" + s + "deg)")
                                }
                            },
                            setTransition: function(t) {
                                if (u.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t), u.params.virtualTranslate && 0 !== t) {
                                    var a = !1;
                                    u.slides.eq(u.activeIndex).transitionEnd((function() {
                                        if (!a && u && e(this).hasClass(u.params.slideActiveClass)) {
                                            a = !0,
                                            u.animating = !1;
                                            for (var t = ["webkitTransitionEnd", "transitionend", "oTransitionEnd", "MSTransitionEnd", "msTransitionEnd"], i = 0; i < t.length; i++) u.wrapper.trigger(t[i])
                                        }
                                    }))
                                }
                            }
                        },
                        cube: {
                            setTranslate: function() {
                                var t, a = 0;
                                u.params.cube.shadow && (u.isHorizontal() ? (0 === (t = u.wrapper.find(".swiper-cube-shadow")).length && (t = e('<div class="swiper-cube-shadow"></div>'), u.wrapper.append(t)), t.css({
                                    height: u.width + "px"
                                })) : 0 === (t = u.container.find(".swiper-cube-shadow")).length && (t = e('<div class="swiper-cube-shadow"></div>'), u.container.append(t)));
                                for (var i = 0; i < u.slides.length; i++) {
                                    var s = u.slides.eq(i),
                                    o = 90 * i,
                                    r = Math.floor(o / 360);
                                    u.rtl && (o = -o, r = Math.floor( - o / 360));
                                    var n = Math.max(Math.min(s[0].progress, 1), -1),
                                    l = 0,
                                    d = 0,
                                    c = 0;
                                    i % 4 == 0 ? (l = 4 * -r * u.size, c = 0) : (i - 1) % 4 == 0 ? (l = 0, c = 4 * -r * u.size) : (i - 2) % 4 == 0 ? (l = u.size + 4 * r * u.size, c = u.size) : (i - 3) % 4 == 0 && (l = -u.size, c = 3 * u.size + 4 * u.size * r),
                                    u.rtl && (l = -l),
                                    u.isHorizontal() || (d = l, l = 0);
                                    var p = "rotateX(" + (u.isHorizontal() ? 0 : -o) + "deg) rotateY(" + (u.isHorizontal() ? o: 0) + "deg) translate3d(" + l + "px, " + d + "px, " + c + "px)";
                                    if (n <= 1 && n > -1 && (a = 90 * i + 90 * n, u.rtl && (a = 90 * -i - 90 * n)), s.transform(p), u.params.cube.slideShadows) {
                                        var h = u.isHorizontal() ? s.find(".swiper-slide-shadow-left") : s.find(".swiper-slide-shadow-top"),
                                        m = u.isHorizontal() ? s.find(".swiper-slide-shadow-right") : s.find(".swiper-slide-shadow-bottom");
                                        0 === h.length && (h = e('<div class="swiper-slide-shadow-' + (u.isHorizontal() ? "left": "top") + '"></div>'), s.append(h)),
                                        0 === m.length && (m = e('<div class="swiper-slide-shadow-' + (u.isHorizontal() ? "right": "bottom") + '"></div>'), s.append(m)),
                                        h.length && (h[0].style.opacity = Math.max( - n, 0)),
                                        m.length && (m[0].style.opacity = Math.max(n, 0))
                                    }
                                }
                                if (u.wrapper.css({
                                    "-webkit-transform-origin": "50% 50% -" + u.size / 2 + "px",
                                    "-moz-transform-origin": "50% 50% -" + u.size / 2 + "px",
                                    "-ms-transform-origin": "50% 50% -" + u.size / 2 + "px",
                                    "transform-origin": "50% 50% -" + u.size / 2 + "px"
                                }), u.params.cube.shadow) if (u.isHorizontal()) t.transform("translate3d(0px, " + (u.width / 2 + u.params.cube.shadowOffset) + "px, " + -u.width / 2 + "px) rotateX(90deg) rotateZ(0deg) scale(" + u.params.cube.shadowScale + ")");
                                else {
                                    var f = Math.abs(a) - 90 * Math.floor(Math.abs(a) / 90),
                                    g = 1.5 - (Math.sin(2 * f * Math.PI / 360) / 2 + Math.cos(2 * f * Math.PI / 360) / 2),
                                    v = u.params.cube.shadowScale,
                                    w = u.params.cube.shadowScale / g,
                                    y = u.params.cube.shadowOffset;
                                    t.transform("scale3d(" + v + ", 1, " + w + ") translate3d(0px, " + (u.height / 2 + y) + "px, " + -u.height / 2 / w + "px) rotateX(-90deg)")
                                }
                                var b = u.isSafari || u.isUiWebView ? -u.size / 2 : 0;
                                u.wrapper.transform("translate3d(0px,0," + b + "px) rotateX(" + (u.isHorizontal() ? 0 : a) + "deg) rotateY(" + (u.isHorizontal() ? -a: 0) + "deg)")
                            },
                            setTransition: function(e) {
                                u.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),
                                u.params.cube.shadow && !u.isHorizontal() && u.container.find(".swiper-cube-shadow").transition(e)
                            }
                        },
                        coverflow: {
                            setTranslate: function() {
                                for (var t = u.translate,
                                a = u.isHorizontal() ? -t + u.width / 2 : -t + u.height / 2, i = u.isHorizontal() ? u.params.coverflow.rotate: -u.params.coverflow.rotate, s = u.params.coverflow.depth, o = 0, r = u.slides.length; o < r; o++) {
                                    var n = u.slides.eq(o),
                                    l = u.slidesSizesGrid[o],
                                    d = (a - n[0].swiperSlideOffset - l / 2) / l * u.params.coverflow.modifier,
                                    c = u.isHorizontal() ? i * d: 0,
                                    p = u.isHorizontal() ? 0 : i * d,
                                    h = -s * Math.abs(d),
                                    m = u.isHorizontal() ? 0 : u.params.coverflow.stretch * d,
                                    f = u.isHorizontal() ? u.params.coverflow.stretch * d: 0;
                                    Math.abs(f) < .001 && (f = 0),
                                    Math.abs(m) < .001 && (m = 0),
                                    Math.abs(h) < .001 && (h = 0),
                                    Math.abs(c) < .001 && (c = 0),
                                    Math.abs(p) < .001 && (p = 0);
                                    var g = "translate3d(" + f + "px," + m + "px," + h + "px)  rotateX(" + p + "deg) rotateY(" + c + "deg)";
                                    if (n.transform(g), n[0].style.zIndex = 1 - Math.abs(Math.round(d)), u.params.coverflow.slideShadows) {
                                        var v = u.isHorizontal() ? n.find(".swiper-slide-shadow-left") : n.find(".swiper-slide-shadow-top"),
                                        w = u.isHorizontal() ? n.find(".swiper-slide-shadow-right") : n.find(".swiper-slide-shadow-bottom");
                                        0 === v.length && (v = e('<div class="swiper-slide-shadow-' + (u.isHorizontal() ? "left": "top") + '"></div>'), n.append(v)),
                                        0 === w.length && (w = e('<div class="swiper-slide-shadow-' + (u.isHorizontal() ? "right": "bottom") + '"></div>'), n.append(w)),
                                        v.length && (v[0].style.opacity = d > 0 ? d: 0),
                                        w.length && (w[0].style.opacity = -d > 0 ? -d: 0)
                                    }
                                }
                                u.browser.ie && (u.wrapper[0].style.perspectiveOrigin = a + "px 50%")
                            },
                            setTransition: function(e) {
                                u.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)
                            }
                        }
                    },
                    u.lazy = {
                        initialImageLoaded: !1,
                        loadImageInSlide: function(t, a) {
                            if (void 0 !== t && (void 0 === a && (a = !0), 0 !== u.slides.length)) {
                                var i = u.slides.eq(t),
                                s = i.find("." + u.params.lazyLoadingClass + ":not(." + u.params.lazyStatusLoadedClass + "):not(." + u.params.lazyStatusLoadingClass + ")"); ! i.hasClass(u.params.lazyLoadingClass) || i.hasClass(u.params.lazyStatusLoadedClass) || i.hasClass(u.params.lazyStatusLoadingClass) || (s = s.add(i[0])),
                                0 !== s.length && s.each((function() {
                                    var t = e(this);
                                    t.addClass(u.params.lazyStatusLoadingClass);
                                    var s = t.attr("data-background"),
                                    o = t.attr("data-src"),
                                    r = t.attr("data-srcset"),
                                    n = t.attr("data-sizes");
                                    u.loadImage(t[0], o || s, r, n, !1, (function() {
                                        if (null != u && u) {
                                            if (s ? (t.css("background-image", 'url("' + s + '")'), t.removeAttr("data-background")) : (r && (t.attr("srcset", r), t.removeAttr("data-srcset")), n && (t.attr("sizes", n), t.removeAttr("data-sizes")), o && (t.attr("src", o), t.removeAttr("data-src"))), t.addClass(u.params.lazyStatusLoadedClass).removeClass(u.params.lazyStatusLoadingClass), i.find("." + u.params.lazyPreloaderClass + ", ." + u.params.preloaderClass).remove(), u.params.loop && a) {
                                                var e = i.attr("data-swiper-slide-index");
                                                if (i.hasClass(u.params.slideDuplicateClass)) {
                                                    var l = u.wrapper.children('[data-swiper-slide-index="' + e + '"]:not(.' + u.params.slideDuplicateClass + ")");
                                                    u.lazy.loadImageInSlide(l.index(), !1)
                                                } else {
                                                    var d = u.wrapper.children("." + u.params.slideDuplicateClass + '[data-swiper-slide-index="' + e + '"]');
                                                    u.lazy.loadImageInSlide(d.index(), !1)
                                                }
                                            }
                                            u.emit("onLazyImageReady", u, i[0], t[0])
                                        }
                                    })),
                                    u.emit("onLazyImageLoad", u, i[0], t[0])
                                }))
                            }
                        },
                        load: function() {
                            var t, a = u.params.slidesPerView;
                            if ("auto" === a && (a = 0), u.lazy.initialImageLoaded || (u.lazy.initialImageLoaded = !0), u.params.watchSlidesVisibility) u.wrapper.children("." + u.params.slideVisibleClass).each((function() {
                                u.lazy.loadImageInSlide(e(this).index())
                            }));
                            else if (a > 1) for (t = u.activeIndex; t < u.activeIndex + a; t++) u.slides[t] && u.lazy.loadImageInSlide(t);
                            else u.lazy.loadImageInSlide(u.activeIndex);
                            if (u.params.lazyLoadingInPrevNext) if (a > 1 || u.params.lazyLoadingInPrevNextAmount && u.params.lazyLoadingInPrevNextAmount > 1) {
                                var i = u.params.lazyLoadingInPrevNextAmount,
                                s = a,
                                o = Math.min(u.activeIndex + s + Math.max(i, s), u.slides.length),
                                r = Math.max(u.activeIndex - Math.max(s, i), 0);
                                for (t = u.activeIndex + a; t < o; t++) u.slides[t] && u.lazy.loadImageInSlide(t);
                                for (t = r; t < u.activeIndex; t++) u.slides[t] && u.lazy.loadImageInSlide(t)
                            } else {
                                var n = u.wrapper.children("." + u.params.slideNextClass);
                                n.length > 0 && u.lazy.loadImageInSlide(n.index());
                                var l = u.wrapper.children("." + u.params.slidePrevClass);
                                l.length > 0 && u.lazy.loadImageInSlide(l.index())
                            }
                        },
                        onTransitionStart: function() {
                            u.params.lazyLoading && (u.params.lazyLoadingOnTransitionStart || !u.params.lazyLoadingOnTransitionStart && !u.lazy.initialImageLoaded) && u.lazy.load()
                        },
                        onTransitionEnd: function() {
                            u.params.lazyLoading && !u.params.lazyLoadingOnTransitionStart && u.lazy.load()
                        }
                    },
                    u.scrollbar = {
                        isTouched: !1,
                        setDragPosition: function(e) {
                            var t = u.scrollbar,
                            a = (u.isHorizontal() ? "touchstart" === e.type || "touchmove" === e.type ? e.targetTouches[0].pageX: e.pageX || e.clientX: "touchstart" === e.type || "touchmove" === e.type ? e.targetTouches[0].pageY: e.pageY || e.clientY) - t.track.offset()[u.isHorizontal() ? "left": "top"] - t.dragSize / 2,
                            i = -u.minTranslate() * t.moveDivider,
                            s = -u.maxTranslate() * t.moveDivider;
                            a < i ? a = i: a > s && (a = s),
                            a = -a / t.moveDivider,
                            u.updateProgress(a),
                            u.setWrapperTranslate(a, !0)
                        },
                        dragStart: function(e) {
                            var t = u.scrollbar;
                            t.isTouched = !0,
                            e.preventDefault(),
                            e.stopPropagation(),
                            t.setDragPosition(e),
                            clearTimeout(t.dragTimeout),
                            t.track.transition(0),
                            u.params.scrollbarHide && t.track.css("opacity", 1),
                            u.wrapper.transition(100),
                            t.drag.transition(100),
                            u.emit("onScrollbarDragStart", u)
                        },
                        dragMove: function(e) {
                            var t = u.scrollbar;
                            t.isTouched && (e.preventDefault ? e.preventDefault() : e.returnValue = !1, t.setDragPosition(e), u.wrapper.transition(0), t.track.transition(0), t.drag.transition(0), u.emit("onScrollbarDragMove", u))
                        },
                        dragEnd: function(e) {
                            var t = u.scrollbar;
                            t.isTouched && (t.isTouched = !1, u.params.scrollbarHide && (clearTimeout(t.dragTimeout), t.dragTimeout = setTimeout((function() {
                                t.track.css("opacity", 0),
                                t.track.transition(400)
                            }), 1e3)), u.emit("onScrollbarDragEnd", u), u.params.scrollbarSnapOnRelease && u.slideReset())
                        },
                        draggableEvents: !1 !== u.params.simulateTouch || u.support.touch ? u.touchEvents: u.touchEventsDesktop,
                        enableDraggable: function() {
                            var t = u.scrollbar,
                            a = u.support.touch ? t.track: document;
                            e(t.track).on(t.draggableEvents.start, t.dragStart),
                            e(a).on(t.draggableEvents.move, t.dragMove),
                            e(a).on(t.draggableEvents.end, t.dragEnd)
                        },
                        disableDraggable: function() {
                            var t = u.scrollbar,
                            a = u.support.touch ? t.track: document;
                            e(t.track).off(t.draggableEvents.start, t.dragStart),
                            e(a).off(t.draggableEvents.move, t.dragMove),
                            e(a).off(t.draggableEvents.end, t.dragEnd)
                        },
                        set: function() {
                            if (u.params.scrollbar) {
                                var t = u.scrollbar;
                                t.track = e(u.params.scrollbar),
                                u.params.uniqueNavElements && "string" == typeof u.params.scrollbar && t.track.length > 1 && 1 === u.container.find(u.params.scrollbar).length && (t.track = u.container.find(u.params.scrollbar)),
                                t.drag = t.track.find(".swiper-scrollbar-drag"),
                                0 === t.drag.length && (t.drag = e('<div class="swiper-scrollbar-drag"></div>'), t.track.append(t.drag)),
                                t.drag[0].style.width = "",
                                t.drag[0].style.height = "",
                                t.trackSize = u.isHorizontal() ? t.track[0].offsetWidth: t.track[0].offsetHeight,
                                t.divider = u.size / u.virtualSize,
                                t.moveDivider = t.divider * (t.trackSize / u.size),
                                t.dragSize = t.trackSize * t.divider,
                                u.isHorizontal() ? t.drag[0].style.width = t.dragSize + "px": t.drag[0].style.height = t.dragSize + "px",
                                t.divider >= 1 ? t.track[0].style.display = "none": t.track[0].style.display = "",
                                u.params.scrollbarHide && (t.track[0].style.opacity = 0)
                            }
                        },
                        setTranslate: function() {
                            if (u.params.scrollbar) {
                                var e, t = u.scrollbar,
                                a = (u.translate, t.dragSize);
                                e = (t.trackSize - t.dragSize) * u.progress,
                                u.rtl && u.isHorizontal() ? (e = -e) > 0 ? (a = t.dragSize - e, e = 0) : -e + t.dragSize > t.trackSize && (a = t.trackSize + e) : e < 0 ? (a = t.dragSize + e, e = 0) : e + t.dragSize > t.trackSize && (a = t.trackSize - e),
                                u.isHorizontal() ? (u.support.transforms3d ? t.drag.transform("translate3d(" + e + "px, 0, 0)") : t.drag.transform("translateX(" + e + "px)"), t.drag[0].style.width = a + "px") : (u.support.transforms3d ? t.drag.transform("translate3d(0px, " + e + "px, 0)") : t.drag.transform("translateY(" + e + "px)"), t.drag[0].style.height = a + "px"),
                                u.params.scrollbarHide && (clearTimeout(t.timeout), t.track[0].style.opacity = 1, t.timeout = setTimeout((function() {
                                    t.track[0].style.opacity = 0,
                                    t.track.transition(400)
                                }), 1e3))
                            }
                        },
                        setTransition: function(e) {
                            u.params.scrollbar && u.scrollbar.drag.transition(e)
                        }
                    },
                    u.controller = {
                        LinearSpline: function(e, t) {
                            var a, i, s, o, r, n = function(e, t) {
                                for (i = -1, a = e.length; a - i > 1;) e[s = a + i >> 1] <= t ? i = s: a = s;
                                return a
                            };
                            this.x = e,
                            this.y = t,
                            this.lastIndex = e.length - 1;
                            this.x.length;
                            this.interpolate = function(e) {
                                return e ? (r = n(this.x, e), o = r - 1, (e - this.x[o]) * (this.y[r] - this.y[o]) / (this.x[r] - this.x[o]) + this.y[o]) : 0
                            }
                        },
                        getInterpolateFunction: function(e) {
                            u.controller.spline || (u.controller.spline = u.params.loop ? new u.controller.LinearSpline(u.slidesGrid, e.slidesGrid) : new u.controller.LinearSpline(u.snapGrid, e.snapGrid))
                        },
                        setTranslate: function(e, a) {
                            var i, s, o = u.params.control;
                            function r(t) {
                                e = t.rtl && "horizontal" === t.params.direction ? -u.translate: u.translate,
                                "slide" === u.params.controlBy && (u.controller.getInterpolateFunction(t), s = -u.controller.spline.interpolate( - e)),
                                s && "container" !== u.params.controlBy || (i = (t.maxTranslate() - t.minTranslate()) / (u.maxTranslate() - u.minTranslate()), s = (e - u.minTranslate()) * i + t.minTranslate()),
                                u.params.controlInverse && (s = t.maxTranslate() - s),
                                t.updateProgress(s),
                                t.setWrapperTranslate(s, !1, u),
                                t.updateActiveIndex()
                            }
                            if (Array.isArray(o)) for (var n = 0; n < o.length; n++) o[n] !== a && o[n] instanceof t && r(o[n]);
                            else o instanceof t && a !== o && r(o)
                        },
                        setTransition: function(e, a) {
                            var i, s = u.params.control;
                            function o(t) {
                                t.setWrapperTransition(e, u),
                                0 !== e && (t.onTransitionStart(), t.wrapper.transitionEnd((function() {
                                    s && (t.params.loop && "slide" === u.params.controlBy && t.fixLoop(), t.onTransitionEnd())
                                })))
                            }
                            if (Array.isArray(s)) for (i = 0; i < s.length; i++) s[i] !== a && s[i] instanceof t && o(s[i]);
                            else s instanceof t && a !== s && o(s)
                        }
                    },
                    u.hashnav = {
                        onHashCange: function(e, t) {
                            var a = document.location.hash.replace("#", "");
                            a !== u.slides.eq(u.activeIndex).attr("data-hash") && u.slideTo(u.wrapper.children("." + u.params.slideClass + '[data-hash="' + a + '"]').index())
                        },
                        attachEvents: function(t) {
                            var a = t ? "off": "on";
                            e(window)[a]("hashchange", u.hashnav.onHashCange)
                        },
                        setHash: function() {
                            if (u.hashnav.initialized && u.params.hashnav) if (u.params.replaceState && window.history && window.history.replaceState) window.history.replaceState(null, null, "#" + u.slides.eq(u.activeIndex).attr("data-hash") || "");
                            else {
                                var e = u.slides.eq(u.activeIndex),
                                t = e.attr("data-hash") || e.attr("data-history");
                                document.location.hash = t || ""
                            }
                        },
                        init: function() {
                            if (u.params.hashnav && !u.params.history) {
                                u.hashnav.initialized = !0;
                                var e = document.location.hash.replace("#", "");
                                if (e) for (var t = 0,
                                a = u.slides.length; t < a; t++) {
                                    var i = u.slides.eq(t);
                                    if ((i.attr("data-hash") || i.attr("data-history")) === e && !i.hasClass(u.params.slideDuplicateClass)) {
                                        var s = i.index();
                                        u.slideTo(s, 0, u.params.runCallbacksOnInit, !0)
                                    }
                                }
                                u.params.hashnavWatchState && u.hashnav.attachEvents()
                            }
                        },
                        destroy: function() {
                            u.params.hashnavWatchState && u.hashnav.attachEvents(!0)
                        }
                    },
                    u.history = {
                        init: function() {
                            if (u.params.history) {
                                if (!window.history || !window.history.pushState) return u.params.history = !1,
                                void(u.params.hashnav = !0);
                                u.history.initialized = !0,
                                this.paths = this.getPathValues(),
                                (this.paths.key || this.paths.value) && (this.scrollToSlide(0, this.paths.value, u.params.runCallbacksOnInit), u.params.replaceState || window.addEventListener("popstate", this.setHistoryPopState))
                            }
                        },
                        setHistoryPopState: function() {
                            u.history.paths = u.history.getPathValues(),
                            u.history.scrollToSlide(u.params.speed, u.history.paths.value, !1)
                        },
                        getPathValues: function() {
                            var e = window.location.pathname.slice(1).split("/"),
                            t = e.length;
                            return {
                                key: e[t - 2],
                                value: e[t - 1]
                            }
                        },
                        setHistory: function(e, t) {
                            if (u.history.initialized && u.params.history) {
                                var a = u.slides.eq(t),
                                i = this.slugify(a.attr("data-history"));
                                window.location.pathname.includes(e) || (i = e + "/" + i),
                                u.params.replaceState ? window.history.replaceState(null, null, i) : window.history.pushState(null, null, i)
                            }
                        },
                        slugify: function(e) {
                            return e.toString().toLowerCase().replace(/\s+/g, "-").replace(/[^\w\-]+/g, "").replace(/\-\-+/g, "-").replace(/^-+/, "").replace(/-+$/, "")
                        },
                        scrollToSlide: function(e, t, a) {
                            if (t) for (var i = 0,
                            s = u.slides.length; i < s; i++) {
                                var o = u.slides.eq(i);
                                if (this.slugify(o.attr("data-history")) === t && !o.hasClass(u.params.slideDuplicateClass)) {
                                    var r = o.index();
                                    u.slideTo(r, e, a)
                                }
                            } else u.slideTo(0, e, a)
                        }
                    },
                    u.disableKeyboardControl = function() {
                        u.params.keyboardControl = !1,
                        e(document).off("keydown", N)
                    },
                    u.enableKeyboardControl = function() {
                        u.params.keyboardControl = !0,
                        e(document).on("keydown", N)
                    },
                    u.mousewheel = {
                        event: !1,
                        lastScrollTime: (new window.Date).getTime()
                    },
                    u.params.mousewheelControl && (u.mousewheel.event = navigator.userAgent.indexOf("firefox") > -1 ? "DOMMouseScroll": function() {
                        var e = "onwheel",
                        t = e in document;
                        if (!t) {
                            var a = document.createElement("div");
                            a.setAttribute(e, "return;"),
                            t = "function" == typeof a.onwheel
                        }
                        return ! t && document.implementation && document.implementation.hasFeature && !0 !== document.implementation.hasFeature("", "") && (t = document.implementation.hasFeature("Events.wheel", "3.0")),
                        t
                    } () ? "wheel": "mousewheel"), u.disableMousewheelControl = function() {
                        if (!u.mousewheel.event) return ! 1;
                        var t = u.container;
                        return "container" !== u.params.mousewheelEventsTarged && (t = e(u.params.mousewheelEventsTarged)),
                        t.off(u.mousewheel.event, B),
                        u.params.mousewheelControl = !1,
                        !0
                    },
                    u.enableMousewheelControl = function() {
                        if (!u.mousewheel.event) return ! 1;
                        var t = u.container;
                        return "container" !== u.params.mousewheelEventsTarged && (t = e(u.params.mousewheelEventsTarged)),
                        t.on(u.mousewheel.event, B),
                        u.params.mousewheelControl = !0,
                        !0
                    },
                    u.parallax = {
                        setTranslate: function() {
                            u.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function() {
                                O(this, u.progress)
                            })),
                            u.slides.each((function() {
                                var t = e(this);
                                t.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function() {
                                    O(this, Math.min(Math.max(t[0].progress, -1), 1))
                                }))
                            }))
                        },
                        setTransition: function(t) {
                            void 0 === t && (t = u.params.speed),
                            u.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each((function() {
                                var a = e(this),
                                i = parseInt(a.attr("data-swiper-parallax-duration"), 10) || t;
                                0 === t && (i = 0),
                                a.transition(i)
                            }))
                        }
                    },
                    u.zoom = {
                        scale: 1,
                        currentScale: 1,
                        isScaling: !1,
                        gesture: {
                            slide: void 0,
                            slideWidth: void 0,
                            slideHeight: void 0,
                            image: void 0,
                            imageWrap: void 0,
                            zoomMax: u.params.zoomMax
                        },
                        image: {
                            isTouched: void 0,
                            isMoved: void 0,
                            currentX: void 0,
                            currentY: void 0,
                            minX: void 0,
                            minY: void 0,
                            maxX: void 0,
                            maxY: void 0,
                            width: void 0,
                            height: void 0,
                            startX: void 0,
                            startY: void 0,
                            touchesStart: {},
                            touchesCurrent: {}
                        },
                        velocity: {
                            x: void 0,
                            y: void 0,
                            prevPositionX: void 0,
                            prevPositionY: void 0,
                            prevTime: void 0
                        },
                        getDistanceBetweenTouches: function(e) {
                            if (e.targetTouches.length < 2) return 1;
                            var t = e.targetTouches[0].pageX,
                            a = e.targetTouches[0].pageY,
                            i = e.targetTouches[1].pageX,
                            s = e.targetTouches[1].pageY;
                            return Math.sqrt(Math.pow(i - t, 2) + Math.pow(s - a, 2))
                        },
                        onGestureStart: function(t) {
                            var a = u.zoom;
                            if (!u.support.gestures) {
                                if ("touchstart" !== t.type || "touchstart" === t.type && t.targetTouches.length < 2) return;
                                a.gesture.scaleStart = a.getDistanceBetweenTouches(t)
                            }
                            a.gesture.slide && a.gesture.slide.length || (a.gesture.slide = e(this), 0 === a.gesture.slide.length && (a.gesture.slide = u.slides.eq(u.activeIndex)), a.gesture.image = a.gesture.slide.find("img, svg, canvas"), a.gesture.imageWrap = a.gesture.image.parent("." + u.params.zoomContainerClass), a.gesture.zoomMax = a.gesture.imageWrap.attr("data-swiper-zoom") || u.params.zoomMax, 0 !== a.gesture.imageWrap.length) ? (a.gesture.image.transition(0), a.isScaling = !0) : a.gesture.image = void 0
                        },
                        onGestureChange: function(e) {
                            var t = u.zoom;
                            if (!u.support.gestures) {
                                if ("touchmove" !== e.type || "touchmove" === e.type && e.targetTouches.length < 2) return;
                                t.gesture.scaleMove = t.getDistanceBetweenTouches(e)
                            }
                            t.gesture.image && 0 !== t.gesture.image.length && (u.support.gestures ? t.scale = e.scale * t.currentScale: t.scale = t.gesture.scaleMove / t.gesture.scaleStart * t.currentScale, t.scale > t.gesture.zoomMax && (t.scale = t.gesture.zoomMax - 1 + Math.pow(t.scale - t.gesture.zoomMax + 1, .5)), t.scale < u.params.zoomMin && (t.scale = u.params.zoomMin + 1 - Math.pow(u.params.zoomMin - t.scale + 1, .5)), t.gesture.image.transform("translate3d(0,0,0) scale(" + t.scale + ")"))
                        },
                        onGestureEnd: function(e) {
                            var t = u.zoom; ! u.support.gestures && ("touchend" !== e.type || "touchend" === e.type && e.changedTouches.length < 2) || t.gesture.image && 0 !== t.gesture.image.length && (t.scale = Math.max(Math.min(t.scale, t.gesture.zoomMax), u.params.zoomMin), t.gesture.image.transition(u.params.speed).transform("translate3d(0,0,0) scale(" + t.scale + ")"), t.currentScale = t.scale, t.isScaling = !1, 1 === t.scale && (t.gesture.slide = void 0))
                        },
                        onTouchStart: function(e, t) {
                            var a = e.zoom;
                            a.gesture.image && 0 !== a.gesture.image.length && (a.image.isTouched || ("android" === e.device.os && t.preventDefault(), a.image.isTouched = !0, a.image.touchesStart.x = "touchstart" === t.type ? t.targetTouches[0].pageX: t.pageX, a.image.touchesStart.y = "touchstart" === t.type ? t.targetTouches[0].pageY: t.pageY))
                        },
                        onTouchMove: function(e) {
                            var t = u.zoom;
                            if (t.gesture.image && 0 !== t.gesture.image.length && (u.allowClick = !1, t.image.isTouched && t.gesture.slide)) {
                                t.image.isMoved || (t.image.width = t.gesture.image[0].offsetWidth, t.image.height = t.gesture.image[0].offsetHeight, t.image.startX = u.getTranslate(t.gesture.imageWrap[0], "x") || 0, t.image.startY = u.getTranslate(t.gesture.imageWrap[0], "y") || 0, t.gesture.slideWidth = t.gesture.slide[0].offsetWidth, t.gesture.slideHeight = t.gesture.slide[0].offsetHeight, t.gesture.imageWrap.transition(0), u.rtl && (t.image.startX = -t.image.startX), u.rtl && (t.image.startY = -t.image.startY));
                                var a = t.image.width * t.scale,
                                i = t.image.height * t.scale;
                                if (! (a < t.gesture.slideWidth && i < t.gesture.slideHeight)) {
                                    if (t.image.minX = Math.min(t.gesture.slideWidth / 2 - a / 2, 0), t.image.maxX = -t.image.minX, t.image.minY = Math.min(t.gesture.slideHeight / 2 - i / 2, 0), t.image.maxY = -t.image.minY, t.image.touchesCurrent.x = "touchmove" === e.type ? e.targetTouches[0].pageX: e.pageX, t.image.touchesCurrent.y = "touchmove" === e.type ? e.targetTouches[0].pageY: e.pageY, !t.image.isMoved && !t.isScaling) {
                                        if (u.isHorizontal() && Math.floor(t.image.minX) === Math.floor(t.image.startX) && t.image.touchesCurrent.x < t.image.touchesStart.x || Math.floor(t.image.maxX) === Math.floor(t.image.startX) && t.image.touchesCurrent.x > t.image.touchesStart.x) return void(t.image.isTouched = !1);
                                        if (!u.isHorizontal() && Math.floor(t.image.minY) === Math.floor(t.image.startY) && t.image.touchesCurrent.y < t.image.touchesStart.y || Math.floor(t.image.maxY) === Math.floor(t.image.startY) && t.image.touchesCurrent.y > t.image.touchesStart.y) return void(t.image.isTouched = !1)
                                    }
                                    e.preventDefault(),
                                    e.stopPropagation(),
                                    t.image.isMoved = !0,
                                    t.image.currentX = t.image.touchesCurrent.x - t.image.touchesStart.x + t.image.startX,
                                    t.image.currentY = t.image.touchesCurrent.y - t.image.touchesStart.y + t.image.startY,
                                    t.image.currentX < t.image.minX && (t.image.currentX = t.image.minX + 1 - Math.pow(t.image.minX - t.image.currentX + 1, .8)),
                                    t.image.currentX > t.image.maxX && (t.image.currentX = t.image.maxX - 1 + Math.pow(t.image.currentX - t.image.maxX + 1, .8)),
                                    t.image.currentY < t.image.minY && (t.image.currentY = t.image.minY + 1 - Math.pow(t.image.minY - t.image.currentY + 1, .8)),
                                    t.image.currentY > t.image.maxY && (t.image.currentY = t.image.maxY - 1 + Math.pow(t.image.currentY - t.image.maxY + 1, .8)),
                                    t.velocity.prevPositionX || (t.velocity.prevPositionX = t.image.touchesCurrent.x),
                                    t.velocity.prevPositionY || (t.velocity.prevPositionY = t.image.touchesCurrent.y),
                                    t.velocity.prevTime || (t.velocity.prevTime = Date.now()),
                                    t.velocity.x = (t.image.touchesCurrent.x - t.velocity.prevPositionX) / (Date.now() - t.velocity.prevTime) / 2,
                                    t.velocity.y = (t.image.touchesCurrent.y - t.velocity.prevPositionY) / (Date.now() - t.velocity.prevTime) / 2,
                                    Math.abs(t.image.touchesCurrent.x - t.velocity.prevPositionX) < 2 && (t.velocity.x = 0),
                                    Math.abs(t.image.touchesCurrent.y - t.velocity.prevPositionY) < 2 && (t.velocity.y = 0),
                                    t.velocity.prevPositionX = t.image.touchesCurrent.x,
                                    t.velocity.prevPositionY = t.image.touchesCurrent.y,
                                    t.velocity.prevTime = Date.now(),
                                    t.gesture.imageWrap.transform("translate3d(" + t.image.currentX + "px, " + t.image.currentY + "px,0)")
                                }
                            }
                        },
                        onTouchEnd: function(e, t) {
                            var a = e.zoom;
                            if (a.gesture.image && 0 !== a.gesture.image.length) {
                                if (!a.image.isTouched || !a.image.isMoved) return a.image.isTouched = !1,
                                void(a.image.isMoved = !1);
                                a.image.isTouched = !1,
                                a.image.isMoved = !1;
                                var i = 300,
                                s = 300,
                                o = a.velocity.x * i,
                                r = a.image.currentX + o,
                                n = a.velocity.y * s,
                                l = a.image.currentY + n;
                                0 !== a.velocity.x && (i = Math.abs((r - a.image.currentX) / a.velocity.x)),
                                0 !== a.velocity.y && (s = Math.abs((l - a.image.currentY) / a.velocity.y));
                                var d = Math.max(i, s);
                                a.image.currentX = r,
                                a.image.currentY = l;
                                var c = a.image.width * a.scale,
                                p = a.image.height * a.scale;
                                a.image.minX = Math.min(a.gesture.slideWidth / 2 - c / 2, 0),
                                a.image.maxX = -a.image.minX,
                                a.image.minY = Math.min(a.gesture.slideHeight / 2 - p / 2, 0),
                                a.image.maxY = -a.image.minY,
                                a.image.currentX = Math.max(Math.min(a.image.currentX, a.image.maxX), a.image.minX),
                                a.image.currentY = Math.max(Math.min(a.image.currentY, a.image.maxY), a.image.minY),
                                a.gesture.imageWrap.transition(d).transform("translate3d(" + a.image.currentX + "px, " + a.image.currentY + "px,0)")
                            }
                        },
                        onTransitionEnd: function(e) {
                            var t = e.zoom;
                            t.gesture.slide && e.previousIndex !== e.activeIndex && (t.gesture.image.transform("translate3d(0,0,0) scale(1)"), t.gesture.imageWrap.transform("translate3d(0,0,0)"), t.gesture.slide = t.gesture.image = t.gesture.imageWrap = void 0, t.scale = t.currentScale = 1)
                        },
                        toggleZoom: function(t, a) {
                            var i, s, o, r, n, l, d, c, p, u, h, m, f, g, v, w, y = t.zoom; (y.gesture.slide || (y.gesture.slide = t.clickedSlide ? e(t.clickedSlide) : t.slides.eq(t.activeIndex), y.gesture.image = y.gesture.slide.find("img, svg, canvas"), y.gesture.imageWrap = y.gesture.image.parent("." + t.params.zoomContainerClass)), y.gesture.image && 0 !== y.gesture.image.length) && (void 0 === y.image.touchesStart.x && a ? (i = "touchend" === a.type ? a.changedTouches[0].pageX: a.pageX, s = "touchend" === a.type ? a.changedTouches[0].pageY: a.pageY) : (i = y.image.touchesStart.x, s = y.image.touchesStart.y), y.scale && 1 !== y.scale ? (y.scale = y.currentScale = 1, y.gesture.imageWrap.transition(300).transform("translate3d(0,0,0)"), y.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"), y.gesture.slide = void 0) : (y.scale = y.currentScale = y.gesture.imageWrap.attr("data-swiper-zoom") || t.params.zoomMax, a ? (v = y.gesture.slide[0].offsetWidth, w = y.gesture.slide[0].offsetHeight, o = y.gesture.slide.offset().left + v / 2 - i, r = y.gesture.slide.offset().top + w / 2 - s, d = y.gesture.image[0].offsetWidth, c = y.gesture.image[0].offsetHeight, p = d * y.scale, u = c * y.scale, f = -(h = Math.min(v / 2 - p / 2, 0)), g = -(m = Math.min(w / 2 - u / 2, 0)), (n = o * y.scale) < h && (n = h), n > f && (n = f), (l = r * y.scale) < m && (l = m), l > g && (l = g)) : (n = 0, l = 0), y.gesture.imageWrap.transition(300).transform("translate3d(" + n + "px, " + l + "px,0)"), y.gesture.image.transition(300).transform("translate3d(0,0,0) scale(" + y.scale + ")")))
                        },
                        attachEvents: function(t) {
                            var a = t ? "off": "on";
                            if (u.params.zoom) {
                                u.slides;
                                var i = !("touchstart" !== u.touchEvents.start || !u.support.passiveListener || !u.params.passiveListeners) && {
                                    passive: !0,
                                    capture: !1
                                };
                                u.support.gestures ? (u.slides[a]("gesturestart", u.zoom.onGestureStart, i), u.slides[a]("gesturechange", u.zoom.onGestureChange, i), u.slides[a]("gestureend", u.zoom.onGestureEnd, i)) : "touchstart" === u.touchEvents.start && (u.slides[a](u.touchEvents.start, u.zoom.onGestureStart, i), u.slides[a](u.touchEvents.move, u.zoom.onGestureChange, i), u.slides[a](u.touchEvents.end, u.zoom.onGestureEnd, i)),
                                u[a]("touchStart", u.zoom.onTouchStart),
                                u.slides.each((function(t, i) {
                                    e(i).find("." + u.params.zoomContainerClass).length > 0 && e(i)[a](u.touchEvents.move, u.zoom.onTouchMove)
                                })),
                                u[a]("touchEnd", u.zoom.onTouchEnd),
                                u[a]("transitionEnd", u.zoom.onTransitionEnd),
                                u.params.zoomToggle && u.on("doubleTap", u.zoom.toggleZoom)
                            }
                        },
                        init: function() {
                            u.zoom.attachEvents()
                        },
                        destroy: function() {
                            u.zoom.attachEvents(!0)
                        }
                    },
                    u._plugins = [], u.plugins) {
                        var j = u.plugins[I](u, u.params[I]);
                        j && u._plugins.push(j)
                    }
                    return u.callPlugins = function(e) {
                        for (var t = 0; t < u._plugins.length; t++) e in u._plugins[t] && u._plugins[t][e](arguments[1], arguments[2], arguments[3], arguments[4], arguments[5])
                    },
                    u.emitterEventListeners = {},
                    u.emit = function(e) {
                        var t;
                        if (u.params[e] && u.params[e](arguments[1], arguments[2], arguments[3], arguments[4], arguments[5]), u.emitterEventListeners[e]) for (t = 0; t < u.emitterEventListeners[e].length; t++) u.emitterEventListeners[e][t](arguments[1], arguments[2], arguments[3], arguments[4], arguments[5]);
                        u.callPlugins && u.callPlugins(e, arguments[1], arguments[2], arguments[3], arguments[4], arguments[5])
                    },
                    u.on = function(e, t) {
                        return e = L(e),
                        u.emitterEventListeners[e] || (u.emitterEventListeners[e] = []),
                        u.emitterEventListeners[e].push(t),
                        u
                    },
                    u.off = function(e, t) {
                        var a;
                        if (e = L(e), void 0 === t) return u.emitterEventListeners[e] = [],
                        u;
                        if (u.emitterEventListeners[e] && 0 !== u.emitterEventListeners[e].length) {
                            for (a = 0; a < u.emitterEventListeners[e].length; a++) u.emitterEventListeners[e][a] === t && u.emitterEventListeners[e].splice(a, 1);
                            return u
                        }
                    },
                    u.once = function(e, t) {
                        e = L(e);
                        return u.on(e, (function a() {
                            t(arguments[0], arguments[1], arguments[2], arguments[3], arguments[4]),
                            u.off(e, a)
                        })),
                        u
                    },
                    u.a11y = {
                        makeFocusable: function(e) {
                            return e.attr("tabIndex", "0"),
                            e
                        },
                        addRole: function(e, t) {
                            return e.attr("role", t),
                            e
                        },
                        addLabel: function(e, t) {
                            return e.attr("aria-label", t),
                            e
                        },
                        disable: function(e) {
                            return e.attr("aria-disabled", !0),
                            e
                        },
                        enable: function(e) {
                            return e.attr("aria-disabled", !1),
                            e
                        },
                        onEnterKey: function(t) {
                            13 === t.keyCode && (e(t.target).is(u.params.nextButton) ? (u.onClickNext(t), u.isEnd ? u.a11y.notify(u.params.lastSlideMessage) : u.a11y.notify(u.params.nextSlideMessage)) : e(t.target).is(u.params.prevButton) && (u.onClickPrev(t), u.isBeginning ? u.a11y.notify(u.params.firstSlideMessage) : u.a11y.notify(u.params.prevSlideMessage)), e(t.target).is("." + u.params.bulletClass) && e(t.target)[0].click())
                        },
                        liveRegion: e('<span class="' + u.params.notificationClass + '" aria-live="assertive" aria-atomic="true"></span>'),
                        notify: function(e) {
                            var t = u.a11y.liveRegion;
                            0 !== t.length && (t.html(""), t.html(e))
                        },
                        init: function() {
                            u.params.nextButton && u.nextButton && u.nextButton.length > 0 && (u.a11y.makeFocusable(u.nextButton), u.a11y.addRole(u.nextButton, "button"), u.a11y.addLabel(u.nextButton, u.params.nextSlideMessage)),
                            u.params.prevButton && u.prevButton && u.prevButton.length > 0 && (u.a11y.makeFocusable(u.prevButton), u.a11y.addRole(u.prevButton, "button"), u.a11y.addLabel(u.prevButton, u.params.prevSlideMessage)),
                            e(u.container).append(u.a11y.liveRegion)
                        },
                        initPagination: function() {
                            u.params.pagination && u.params.paginationClickable && u.bullets && u.bullets.length && u.bullets.each((function() {
                                var t = e(this);
                                u.a11y.makeFocusable(t),
                                u.a11y.addRole(t, "button"),
                                u.a11y.addLabel(t, u.params.paginationBulletMessage.replace(/{{index}}/, t.index() + 1))
                            }))
                        },
                        destroy: function() {
                            u.a11y.liveRegion && u.a11y.liveRegion.length > 0 && u.a11y.liveRegion.remove()
                        }
                    },
                    u.init = function() {
                        u.params.loop && u.createLoop(),
                        u.updateContainerSize(),
                        u.updateSlidesSize(),
                        u.updatePagination(),
                        u.params.scrollbar && u.scrollbar && (u.scrollbar.set(), u.params.scrollbarDraggable && u.scrollbar.enableDraggable()),
                        "slide" !== u.params.effect && u.effects[u.params.effect] && (u.params.loop || u.updateProgress(), u.effects[u.params.effect].setTranslate()),
                        u.params.loop ? u.slideTo(u.params.initialSlide + u.loopedSlides, 0, u.params.runCallbacksOnInit) : (u.slideTo(u.params.initialSlide, 0, u.params.runCallbacksOnInit), 0 === u.params.initialSlide && (u.parallax && u.params.parallax && u.parallax.setTranslate(), u.lazy && u.params.lazyLoading && (u.lazy.load(), u.lazy.initialImageLoaded = !0))),
                        u.attachEvents(),
                        u.params.observer && u.support.observer && u.initObservers(),
                        u.params.preloadImages && !u.params.lazyLoading && u.preloadImages(),
                        u.params.zoom && u.zoom && u.zoom.init(),
                        u.params.autoplay && u.startAutoplay(),
                        u.params.keyboardControl && u.enableKeyboardControl && u.enableKeyboardControl(),
                        u.params.mousewheelControl && u.enableMousewheelControl && u.enableMousewheelControl(),
                        u.params.hashnavReplaceState && (u.params.replaceState = u.params.hashnavReplaceState),
                        u.params.history && u.history && u.history.init(),
                        u.params.hashnav && u.hashnav && u.hashnav.init(),
                        u.params.a11y && u.a11y && u.a11y.init(),
                        u.emit("onInit", u)
                    },
                    u.cleanupStyles = function() {
                        u.container.removeClass(u.classNames.join(" ")).removeAttr("style"),
                        u.wrapper.removeAttr("style"),
                        u.slides && u.slides.length && u.slides.removeClass([u.params.slideVisibleClass, u.params.slideActiveClass, u.params.slideNextClass, u.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),
                        u.paginationContainer && u.paginationContainer.length && u.paginationContainer.removeClass(u.params.paginationHiddenClass),
                        u.bullets && u.bullets.length && u.bullets.removeClass(u.params.bulletActiveClass),
                        u.params.prevButton && e(u.params.prevButton).removeClass(u.params.buttonDisabledClass),
                        u.params.nextButton && e(u.params.nextButton).removeClass(u.params.buttonDisabledClass),
                        u.params.scrollbar && u.scrollbar && (u.scrollbar.track && u.scrollbar.track.length && u.scrollbar.track.removeAttr("style"), u.scrollbar.drag && u.scrollbar.drag.length && u.scrollbar.drag.removeAttr("style"))
                    },
                    u.destroy = function(e, t) {
                        u.detachEvents(),
                        u.stopAutoplay(),
                        u.params.scrollbar && u.scrollbar && u.params.scrollbarDraggable && u.scrollbar.disableDraggable(),
                        u.params.loop && u.destroyLoop(),
                        t && u.cleanupStyles(),
                        u.disconnectObservers(),
                        u.params.zoom && u.zoom && u.zoom.destroy(),
                        u.params.keyboardControl && u.disableKeyboardControl && u.disableKeyboardControl(),
                        u.params.mousewheelControl && u.disableMousewheelControl && u.disableMousewheelControl(),
                        u.params.a11y && u.a11y && u.a11y.destroy(),
                        u.params.history && !u.params.replaceState && window.removeEventListener("popstate", u.history.setHistoryPopState),
                        u.params.hashnav && u.hashnav && u.hashnav.destroy(),
                        u.emit("onDestroy"),
                        !1 !== e && (u = null)
                    },
                    u.init(),
                    u
                }
                function M(e) {
                    return Math.floor(e)
                }
                function D() {
                    var e = u.params.autoplay,
                    t = u.slides.eq(u.activeIndex);
                    t.attr("data-swiper-autoplay") && (e = t.attr("data-swiper-autoplay") || u.params.autoplay),
                    u.autoplayTimeoutId = setTimeout((function() {
                        u.params.loop ? (u.fixLoop(), u._slideNext(), u.emit("onAutoplay", u)) : u.isEnd ? s.autoplayStopOnLast ? u.stopAutoplay() : (u._slideTo(0), u.emit("onAutoplay", u)) : (u._slideNext(), u.emit("onAutoplay", u))
                    }), e)
                }
                function z(t, a) {
                    var i = e(t.target);
                    if (!i.is(a)) if ("string" == typeof a) i = i.parents(a);
                    else if (a.nodeType) {
                        var s;
                        return i.parents().each((function(e, t) {
                            t === a && (s = a)
                        })),
                        s ? a: void 0
                    }
                    if (0 !== i.length) return i[0]
                }
                function A(e, t) {
                    t = t || {};
                    var a = new(window.MutationObserver || window.WebkitMutationObserver)((function(e) {
                        e.forEach((function(e) {
                            u.onResize(!0),
                            u.emit("onObserverUpdate", u, e)
                        }))
                    }));
                    a.observe(e, {
                        attributes: void 0 === t.attributes || t.attributes,
                        childList: void 0 === t.childList || t.childList,
                        characterData: void 0 === t.characterData || t.characterData
                    }),
                    u.observers.push(a)
                }
                function N(e) {
                    e.originalEvent && (e = e.originalEvent);
                    var t = e.keyCode || e.charCode;
                    if (!u.params.allowSwipeToNext && (u.isHorizontal() && 39 === t || !u.isHorizontal() && 40 === t)) return ! 1;
                    if (!u.params.allowSwipeToPrev && (u.isHorizontal() && 37 === t || !u.isHorizontal() && 38 === t)) return ! 1;
                    if (! (e.shiftKey || e.altKey || e.ctrlKey || e.metaKey || document.activeElement && document.activeElement.nodeName && ("input" === document.activeElement.nodeName.toLowerCase() || "textarea" === document.activeElement.nodeName.toLowerCase()))) {
                        if (37 === t || 39 === t || 38 === t || 40 === t) {
                            var a = !1;
                            if (u.container.parents("." + u.params.slideClass).length > 0 && 0 === u.container.parents("." + u.params.slideActiveClass).length) return;
                            var i = {
                                left: window.pageXOffset,
                                top: window.pageYOffset
                            },
                            s = window.innerWidth,
                            o = window.innerHeight,
                            r = u.container.offset();
                            u.rtl && (r.left = r.left - u.container[0].scrollLeft);
                            for (var n = [[r.left, r.top], [r.left + u.width, r.top], [r.left, r.top + u.height], [r.left + u.width, r.top + u.height]], l = 0; l < n.length; l++) {
                                var d = n[l];
                                d[0] >= i.left && d[0] <= i.left + s && d[1] >= i.top && d[1] <= i.top + o && (a = !0)
                            }
                            if (!a) return
                        }
                        u.isHorizontal() ? (37 !== t && 39 !== t || (e.preventDefault ? e.preventDefault() : e.returnValue = !1), (39 === t && !u.rtl || 37 === t && u.rtl) && u.slideNext(), (37 === t && !u.rtl || 39 === t && u.rtl) && u.slidePrev()) : (38 !== t && 40 !== t || (e.preventDefault ? e.preventDefault() : e.returnValue = !1), 40 === t && u.slideNext(), 38 === t && u.slidePrev()),
                        u.emit("onKeyPress", u, t)
                    }
                }
                function B(e) {
                    e.originalEvent && (e = e.originalEvent);
                    var t = 0,
                    a = u.rtl ? -1 : 1,
                    i = function(e) {
                        var t = 0,
                        a = 0,
                        i = 0,
                        s = 0;
                        return "detail" in e && (a = e.detail),
                        "wheelDelta" in e && (a = -e.wheelDelta / 120),
                        "wheelDeltaY" in e && (a = -e.wheelDeltaY / 120),
                        "wheelDeltaX" in e && (t = -e.wheelDeltaX / 120),
                        "axis" in e && e.axis === e.HORIZONTAL_AXIS && (t = a, a = 0),
                        i = 10 * t,
                        s = 10 * a,
                        "deltaY" in e && (s = e.deltaY),
                        "deltaX" in e && (i = e.deltaX),
                        (i || s) && e.deltaMode && (1 === e.deltaMode ? (i *= 40, s *= 40) : (i *= 800, s *= 800)),
                        i && !t && (t = i < 1 ? -1 : 1),
                        s && !a && (a = s < 1 ? -1 : 1),
                        {
                            spinX: t,
                            spinY: a,
                            pixelX: i,
                            pixelY: s
                        }
                    } (e);
                    if (u.params.mousewheelForceToAxis) if (u.isHorizontal()) {
                        if (! (Math.abs(i.pixelX) > Math.abs(i.pixelY))) return;
                        t = i.pixelX * a
                    } else {
                        if (! (Math.abs(i.pixelY) > Math.abs(i.pixelX))) return;
                        t = i.pixelY
                    } else t = Math.abs(i.pixelX) > Math.abs(i.pixelY) ? -i.pixelX * a: -i.pixelY;
                    if (0 !== t) {
                        if (u.params.mousewheelInvert && (t = -t), u.params.freeMode) {
                            var s = u.getWrapperTranslate() + t * u.params.mousewheelSensitivity,
                            o = u.isBeginning,
                            r = u.isEnd;
                            if (s >= u.minTranslate() && (s = u.minTranslate()), s <= u.maxTranslate() && (s = u.maxTranslate()), u.setWrapperTransition(0), u.setWrapperTranslate(s), u.updateProgress(), u.updateActiveIndex(), (!o && u.isBeginning || !r && u.isEnd) && u.updateClasses(), u.params.freeModeSticky ? (clearTimeout(u.mousewheel.timeout), u.mousewheel.timeout = setTimeout((function() {
                                u.slideReset()
                            }), 300)) : u.params.lazyLoading && u.lazy && u.lazy.load(), u.emit("onScroll", u, e), u.params.autoplay && u.params.autoplayDisableOnInteraction && u.stopAutoplay(), 0 === s || s === u.maxTranslate()) return
                        } else {
                            if ((new window.Date).getTime() - u.mousewheel.lastScrollTime > 60) if (t < 0) if (u.isEnd && !u.params.loop || u.animating) {
                                if (u.params.mousewheelReleaseOnEdges) return ! 0
                            } else u.slideNext(),
                            u.emit("onScroll", u, e);
                            else if (u.isBeginning && !u.params.loop || u.animating) {
                                if (u.params.mousewheelReleaseOnEdges) return ! 0
                            } else u.slidePrev(),
                            u.emit("onScroll", u, e);
                            u.mousewheel.lastScrollTime = (new window.Date).getTime()
                        }
                        return e.preventDefault ? e.preventDefault() : e.returnValue = !1,
                        !1
                    }
                }
                function O(t, a) {
                    var i, s, o;
                    t = e(t);
                    var r = u.rtl ? -1 : 1;
                    i = t.attr("data-swiper-parallax") || "0",
                    s = t.attr("data-swiper-parallax-x"),
                    o = t.attr("data-swiper-parallax-y"),
                    s || o ? (s = s || "0", o = o || "0") : u.isHorizontal() ? (s = i, o = "0") : (o = i, s = "0"),
                    s = s.indexOf("%") >= 0 ? parseInt(s, 10) * a * r + "%": s * a * r + "px",
                    o = o.indexOf("%") >= 0 ? parseInt(o, 10) * a + "%": o * a + "px",
                    t.transform("translate3d(" + s + ", " + o + ",0px)")
                }
                function L(e) {
                    return 0 !== e.indexOf("on") && (e = e[0] !== e[0].toUpperCase() ? "on" + e[0].toUpperCase() + e.substring(1) : "on" + e),
                    e
                }
            };
            s.prototype = {
                isSafari: (a = window.navigator.userAgent.toLowerCase(), a.indexOf("safari") >= 0 && a.indexOf("chrome") < 0 && a.indexOf("android") < 0),
                isUiWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent),
                isArray: function(e) {
                    return "[object Array]" === Object.prototype.toString.apply(e)
                },
                browser: {
                    ie: window.navigator.pointerEnabled || window.navigator.msPointerEnabled,
                    ieTouch: window.navigator.msPointerEnabled && window.navigator.msMaxTouchPoints > 1 || window.navigator.pointerEnabled && window.navigator.maxTouchPoints > 1,
                    lteIE9: (t = document.createElement("div"), t.innerHTML = "\x3c!--[if lte IE 9]><i></i><![endif]--\x3e", 1 === t.getElementsByTagName("i").length)
                },
                device: function() {
                    var e = window.navigator.userAgent,
                    t = e.match(/(Android);?[\s\/]+([\d.]+)?/),
                    a = e.match(/(iPad).*OS\s([\d_]+)/),
                    i = e.match(/(iPod)(.*OS\s([\d_]+))?/),
                    s = !a && e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);
                    return {
                        ios: a || s || i,
                        android: t
                    }
                } (),
                support: {
                    touch: window.Modernizr && !0 === Modernizr.touch || !!("ontouchstart" in window || window.DocumentTouch && document instanceof DocumentTouch),
                    transforms3d: window.Modernizr && !0 === Modernizr.csstransforms3d ||
                    function() {
                        var e = document.createElement("div").style;
                        return "webkitPerspective" in e || "MozPerspective" in e || "OPerspective" in e || "MsPerspective" in e || "perspective" in e
                    } (),
                    flexbox: function() {
                        for (var e = document.createElement("div").style, t = "alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "), a = 0; a < t.length; a++) if (t[a] in e) return ! 0
                    } (),
                    observer: "MutationObserver" in window || "WebkitMutationObserver" in window,
                    passiveListener: function() {
                        var e = !1;
                        try {
                            var t = Object.defineProperty({},
                            "passive", {
                                get: function() {
                                    e = !0
                                }
                            });
                            window.addEventListener("testPassiveListener", null, t)
                        } catch(e) {}
                        return e
                    } (),
                    gestures: "ongesturestart" in window
                },
                plugins: {}
            };
            for (var o, r = ["jQuery", "Zepto", "Dom7"], n = 0; n < r.length; n++) window[r[n]] && l(window[r[n]]);
            function l(e) {
                e.fn.swiper = function(t) {
                    var a;
                    return e(this).each((function() {
                        var e = new s(this, t);
                        a || (a = e)
                    })),
                    a
                }
            } (o = "undefined" == typeof Dom7 ? window.Dom7 || window.Zepto || window.jQuery: Dom7) && ("transitionEnd" in o.fn || (o.fn.transitionEnd = function(e) {
                var t, a = ["webkitTransitionEnd", "transitionend", "oTransitionEnd", "MSTransitionEnd", "msTransitionEnd"],
                i = this;
                function s(o) {
                    if (o.target === this) for (e.call(this, o), t = 0; t < a.length; t++) i.off(a[t], s)
                }
                if (e) for (t = 0; t < a.length; t++) i.on(a[t], s);
                return this
            }), "transform" in o.fn || (o.fn.transform = function(e) {
                for (var t = 0; t < this.length; t++) {
                    var a = this[t].style;
                    a.webkitTransform = a.MsTransform = a.msTransform = a.MozTransform = a.OTransform = a.transform = e
                }
                return this
            }), "transition" in o.fn || (o.fn.transition = function(e) {
                "string" != typeof e && (e += "ms");
                for (var t = 0; t < this.length; t++) {
                    var a = this[t].style;
                    a.webkitTransitionDuration = a.MsTransitionDuration = a.msTransitionDuration = a.MozTransitionDuration = a.OTransitionDuration = a.transitionDuration = e
                }
                return this
            }), "outerWidth" in o.fn || (o.fn.outerWidth = function(e) {
                return this.length > 0 ? e ? this[0].offsetWidth + parseFloat(this.css("margin-right")) + parseFloat(this.css("margin-left")) : this[0].offsetWidth: null
            })),
            window.Swiper = s
        } (),
        void 0 !== t ? t.exports = window.Swiper: "function" == typeof define && define.amd && define([], (function() {
            return window.Swiper
        }))
    },
    {}],
    17 : [function(e, t, a) {
        "use strict";
        var i, s = 0;
        function o(e, t, a, i, s) {
            for (var o = 0,
            r = 0,
            n = 0; n < e.length; n++) / \n / .test(e[n]) ? (s.fillText(e.substring(r, n).replace(/^\n/, ""), t, a), a += i + 20, o = 0, r = n) : ((o += s.measureText(e[n]).width) > 560 && (s.fillText(e.substring(r, n).replace(/^\n/, ""), t, a), a += i, o = 0, r = n), n == e.length - 1 && (s.fillText(e.substring(r, n + 1).replace(/^\n/, ""), t, a), a += i));
            return a
        }
        t.exports = {
            loadFont: function() {
                if (!s) {
                    var e = document.getElementsByTagName("head")[0],
                    t = document.createElement("link");
                    t.href = "https://fonts.googleapis.com/css?family=Noto+Sans+SC|Noto+Serif+SC:900&display=swap",
                    t.rel = "stylesheet",
                    t.type = "text/css",
                    e.appendChild(t),
                    s = 1
                }
            },
            buildCanvas: function e(t) {
                if (i && clearTimeout(i), t.num && t.num > 20) return ! 1;
                var a = document.createElement("canvas"),
                s = a.getContext("2d");
                a.width = 640,
                a.height = 1e4;
                var r = 0;
                s.fillStyle = "#fff",
                s.fillRect(0, 0, a.width, a.height);
                var n = new Image;
                n.crossOrigin = "anonymous",
                t.head.match(/^\/\//) && (t.head = window.location.protocol + t.head),
                n.src = t.head,
                n.onerror = function(e) {
                    wpcom_alert("\u751f\u6210\u6d77\u62a5\u56fe\u7247\u5931\u8d25"),
                    $(".mobile-share-bg,.mobile-share-wrap").remove()
                },
                n.onload = function() {
                    r += 640 / n.width * n.height,
                    s.drawImage(this, 0, 0, n.width, n.height, 0, 0, 640, 640 / n.width * n.height);
                    var l = new Date(1e3 * t.timestamp),
                    d = l.getDate(),
                    c = l.getFullYear(),
                    p = l.getMonth() + 1;
                    d = d < 10 ? "0" + d: "" + d,
                    p = c + "/" + (p = p < 10 ? "0" + p: "" + p);
                    var u = 0,
                    h = 0;
                    if (!t.time_style) {
                        s.fillStyle = "#fff",
                        s.textAlign = "center",
                        s.font = "68px Noto Sans SC";
                        for (var m = 0; m < d.length; m++) u += s.measureText(d[m]).width;
                        s.fillText(d, 80, r - 72),
                        s.fillStyle = "#fff",
                        s.textAlign = "center",
                        s.font = "30px Noto Sans SC";
                        for (m = 0; m < p.length; m++) h += s.measureText(p[m]).width;
                        s.fillText(p, 80, r - 28);
                        var f = parseInt(h > u ? h: u);
                        s.moveTo(80 - f / 2, r - 60),
                        s.lineTo(80 - f / 2 + f, r - 60),
                        s.lineWidth = 1,
                        s.strokeStyle = "rgba(255,255,255, 1)",
                        s.stroke()
                    }
                    s.fillStyle = "#000",
                    s.textAlign = t.title_align ? t.title_align: "center",
                    s.font = "900 40px Noto Serif SC",
                    r += 80,
                    r = o(jQuery("<div>").html(t.title).text(), "left" === s.textAlign ? 30 : 320, r, 54, s),
                    "1" == t.time_style && (s.fillStyle = "#666", s.font = "400 28px FontAwesome, Noto Sans SC", r += 20, r = o("\uf017 " + t.time, "left" === s.textAlign ? 30 : 320, r, 44, s)),
                    s.textAlign = "left",
                    s.fillStyle = "#333",
                    s.font = "400 28px Noto Sans SC",
                    r += 30,
                    r = o(jQuery("<div>").html(t.excerpt).text(), 30, r, 44, s),
                    r += 40,
                    s.lineWidth = 1,
                    s.beginPath(),
                    s.setLineDash([7, 7]),
                    s.strokeStyle = "#ccc",
                    s.moveTo(0, r),
                    s.lineTo(640, r),
                    s.stroke();
                    var g = new Image;
                    g.crossOrigin = "anonymous",
                    t.logo.match(/^\/\//) && (t.logo = window.location.protocol + t.logo),
                    g.src = t.logo,
                    g.onerror = function(e) {
                        wpcom_alert("\u751f\u6210\u6d77\u62a5\u56fe\u7247\u5931\u8d25"),
                        $(".mobile-share-bg,.mobile-share-wrap").remove()
                    },
                    g.onload = function() {
                        r += 40;
                        var o = 400 / g.width * g.height;
                        o = o > 100 ? 100 : o;
                        var n = g.width / (g.height / o);
                        o = (n = n > 400 ? 400 : n) / g.width * g.height,
                        s.drawImage(this, 0, 0, g.width, g.height, 30, r + (100 - o) / 2, n, o);
                        var l = new Image;
                        l.src = t.qrcode,
                        l.onerror = function(e) {
                            wpcom_alert("\u751f\u6210\u6d77\u62a5\u56fe\u7247\u5931\u8d25"),
                            $(".mobile-share-bg,.mobile-share-wrap").remove()
                        },
                        l.onload = function() {
                            s.drawImage(this, 0, 0, l.width, l.height, 510, r, 100, 100 / l.width * l.height);
                            var n = 100 / l.width * l.height;
                            r += n > o ? n: o,
                            r += 40;
                            var d = s.getImageData(0, 0, 640, r);
                            a.height = r,
                            s.putImageData(d, 0, 0);
                            var c = a.toDataURL("image/jpeg", 1);
                            t.callback(c),
                            i = setTimeout((function() {
                                s.clearRect(0, 0, a.width, a.height),
                                t.num = t.num ? t.num + 1 : 1,
                                e(t)
                            }), 500)
                        }
                    }
                }
            }
        }
    },
    {}],
    18 : [function(e, t, a) {
        "use strict";
        Object.defineProperty(a, "__esModule", {
            value: !0
        }),
        a.
    default = void 0;
        var i = {
            init: function() {
                if (!this.is_mobile() && _wpcom_js.user_card) {
                    var e = this;
                    jQuery(document).on("mouseenter", ".j-user-card", (function() {
                        e.timer && clearTimeout(e.timer),
                        e.timer2 && clearTimeout(e.timer2);
                        var t = this;
                        e.timer = setTimeout((function() {
                            var a = jQuery(t),
                            i = a.data("user");
                            i && (e.show_card(a), e.get_data(i, (function(t) {
                                setTimeout((function() {
                                    e.render_card(t, a)
                                }), 300)
                            })))
                        }), 500)
                    })).on("mouseleave", ".j-user-card", (function() {
                        e.timer && clearTimeout(e.timer),
                        e.timer2 && clearTimeout(e.timer2),
                        e.hide_card()
                    })).on("mouseenter", "#j-user-card", (function() {
                        e.timer && clearTimeout(e.timer),
                        e.timer2 && clearTimeout(e.timer2)
                    })).on("mouseleave", "#j-user-card", (function() {
                        e.timer && clearTimeout(e.timer),
                        e.timer2 && clearTimeout(e.timer2),
                        e.hide_card()
                    }))
                }
            },
            get_data: function(e, t) {
                jQuery.ajax({
                    type: "POST",
                    url: _wpcom_js.ajaxurl,
                    data: {
                        action: "wpcom_user_card",
                        user: e
                    },
                    dataType: "json",
                    success: function(e) {
                        t(e.html)
                    }
                })
            },
            show_card: function(e) {
                var t = jQuery("#j-user-card"),
                a = t.length ? t: jQuery('<div id="j-user-card" class="user-card-wrap"><div class="user-card-loading"><img src="' + _wpcom_js.theme_url + '/images/loading-dots.gif" alt="loading"></div></div>');
                t.length || jQuery("body").append(a);
                var i = this.get_style(e, !a.find(".user-card-loading").length);
                a.css(i),
                t.length || a.fadeIn(200)
            },
            hide_card: function() {
                this.timer2 = setTimeout((function() {
                    jQuery("#j-user-card").fadeOut(200, (function() {
                        jQuery("#j-user-card").remove()
                    }))
                }), 300)
            },
            render_card: function(e, t) {
                var a = jQuery("#j-user-card");
                a.html(e);
                var i = this.get_style(t, 1);
                a.css(i)
            },
            get_style: function(e, t) {
                var a = e.offset(),
                i = jQuery(window),
                s = 0;
                if (i.height() - (a.top - i.scrollTop() + e.outerHeight()) < 350) {
                    var o = t ? _wpcom_js.user_card_height ? _wpcom_js.user_card_height: 346 : 180;
                    s = a.top - o - 5,
                    console.log(a.top, s, o, "top 1")
                } else s = a.top + e.outerHeight() + 5,
                console.log(a.top, s, "top 2");
                return console.log(e.outerHeight(), "$el.outerHeight()"),
                {
                    left: a.left,
                    top: s
                }
            },
            is_mobile: function() {
                return /(iPhone|iPad|iPod|iOS|Android)/i.test(navigator.userAgent)
            }
        };
        a.
    default = i
    },
    {}],
    19 : [function(e, t, a) {
        "use strict";
        var i = d(e("../../../Themer/src/js/text-image")),
        s = d(e("../../../Themer/src/js/social-share")),
        o = d(e("../../../Themer/src/js/message")),
        r = d(e("../../../Themer/src/js/notification")),
        n = d(e("../../../Themer/src/js/follow")),
        l = d(e("../../../Themer/src/js/user-card"));
        function d(e) {
            return e && e.__esModule ? e: {
            default:
                e
            }
        }
        e("../../../Themer/src/js/bootstrap"),
        e("../../../Themer/src/js/swiper.jquery"),
        e("../../../Themer/src/js/member"),
        e("../../../Themer/src/js/common"),
        e("../../../Themer/src/js/jquery.qrcode.min"),
        function(e) {
            var t = e(window),
            a = t.height(),
            d = void 0 !== _wpcom_js.webp && _wpcom_js.webp ? _wpcom_js.webp: null,
            c = e(".navbar-toggle").is(":hidden");
            o.
        default.init(),
            r.
        default.init(),
            n.
        default.init(),
            l.
        default.init(),
            window.kx_share = function(t) {
                var a = e(t).closest(".kx-item");
                if (a.length && a.hasClass("entry-footer")) return a = e(".entry"),
                {
                    title: e.trim(a.find(".entry-title").text()),
                    description: e.trim(a.find(".entry-content").text()).replace("[\u539f\u6587\u94fe\u63a5]", ""),
                    url: window.location.href,
                    image: a.find(".entry-content img").attr("src")
                };
                if (a.length) {
                    var i = (a.find(".kx-title").length ? a.find(".kx-title").text() : a.find(".kx-content h2").text()).match(/^\s*([^\s]+)\s*$/);
                    return {
                        title: i && i[1] ? i[1] : "",
                        description: e.trim(a.find(".kx-content p").text()).replace("[\u539f\u6587\u94fe\u63a5]", ""),
                        url: a.find(".kx-meta").data("url"),
                        image: a.find(".kx-content img").length ? a.find(".kx-content img").attr("src") : ""
                    }
                }
            },
            e(document).ready((function() {
                r(),
                t.resize((function() {
                    c = e(".navbar-toggle").is(":hidden"),
                    a = t.height(),
                    e(document).trigger("DOMSubtreeModified"),
                    r()
                })),
                new Swiper(".swiper-container", {
                    onInit: function(t) {
                        e(t.container[0]).on("click", ".swiper-button-next", (function() {
                            t.slideNext()
                        })).on("click", ".swiper-button-prev", (function() {
                            t.slidePrev()
                        })).find(".j-lazy").lazyload({
                            webp: d,
                            threshold: 250,
                            effect: "fadeIn"
                        }),
                        setTimeout((function() {
                            jQuery(window).trigger("scroll")
                        }), 800)
                    },
                    pagination: ".swiper-pagination",
                    paginationClickable: !0,
                    simulateTouch: !1,
                    loop: !0,
                    autoplay: _wpcom_js.slide_speed ? _wpcom_js.slide_speed: 5e3,
                    effect: "slide",
                    onSlideChangeEnd: function() {
                        jQuery(window).trigger("scroll")
                    }
                });
                var s = e(".entry .entry-video");
                s.length && s.height(parseInt(s.width() / (860 / (void 0 !== _wpcom_js.video_height ? _wpcom_js.video_height: 483))));
                var o = e(".sidebar");
                function r() {
                    if (!c) for (var t = e("header li.dropdown"), a = 0; a < t.length; a++) {
                        var i = e(t[a]);
                        0 == i.find(".m-dropdown").length && i.append('<div class="m-dropdown"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-arrow-down"></use></svg></i></div>')
                    }
                }
                e(document).on("DOMNodeInserted", ".navbar-action", (function() {
                    r()
                })),
                e(".modules-navs").each((function(t, a) {
                    var i = e(a),
                    s = 0,
                    o = i.find(".list-navs>.navs-link");
                    o.outerHeight(""),
                    o.each((function(t, a) {
                        var i = e(a).outerHeight();
                        i > s && (s = i)
                    })),
                    o.outerHeight(s)
                }));
                var n = e("#wrap"),
                l = n.height(),
                p = e("footer.footer"),
                u = e(".member-form-wrap");
                if (e(document).on("DOMSubtreeModified", (function() {
                    if (n.css("min-height", a - n.offset().top - p.outerHeight()), l = n.height(), u.length && e(".page-no-sidebar").length) {
                        u.outerHeight();
                        var t = (l - u.outerHeight()) / 2 - 30;
                        u.css("margin-top", t <= 30 ? 30 : t)
                    }
                })).on("click", ".j-mobile-share", (function() {
                    var t = e(this),
                    a = t.data("id"),
                    s = '<div class="mobile-share-bg"><div class="top_tips">\u8bf7\u957f\u6309\u56fe\u7247\uff0c\u5c06\u5185\u5bb9\u63a8\u8350\u7ed9\u597d\u53cb</div></div><div class="mobile-share-wrap"><div class="loading"><img src="' + (void 0 !== _wpcom_js.framework_url ? _wpcom_js.framework_url: _wpcom_js.theme_url + "/themer") + '/assets/images/loading.gif">\u5206\u4eab\u6d77\u62a5\u751f\u6210\u4e2d...</div></div>';
                    e("body").append(s),
                    i.
                default.loadFont(),
                    e.ajax({
                        url: _wpcom_js.ajaxurl,
                        data: {
                            id: a,
                            action: "wpcom_mobile_share"
                        },
                        method: "POST",
                        dataType: "json",
                        timeout: 1e4,
                        success: function(a) {
                            a.callback = function(t) {
                                var a = e(".mobile-share-wrap");
                                a.find(".mobile-share-close").length ? a.find("img").attr("src", t) : a.html('<img src="' + t + '"><div class="mobile-share-close">\xd7</div>'),
                                e(".mobile-share-bg .top_tips").show()
                            };
                            var s = e(".meta-item.wechat");
                            if ((s = s.length ? s: t.closest(".kx-meta").find(".j-share-qrcode")).find("canvas")[0]) a.qrcode = s.find("canvas")[0].toDataURL();
                            else {
                                var o = e('<div style="display: none;"></div>');
                                e("body").append(o);
                                var r = t.data("qrcode") ? t.data("qrcode") : location.href;
                                o.qrcode({
                                    text: r
                                }),
                                a.qrcode = o.find("canvas")[0].toDataURL(),
                                o.remove()
                            }
                            a.head && a.logo && a.qrcode ? i.
                        default.buildCanvas(a):
                            (e(".mobile-share-bg,.mobile-share-wrap").remove(), setTimeout((function() {
                                wpcom_alert("\u751f\u6210\u5206\u4eab\u6d77\u62a5\u5931\u8d25")
                            }), 50))
                        },
                        error: function() {
                            e(".mobile-share-bg,.mobile-share-wrap").remove(),
                            setTimeout((function() {
                                wpcom_alert("\u83b7\u53d6\u5206\u4eab\u6d77\u62a5\u5931\u8d25")
                            }), 50)
                        }
                    })
                })).on("click", ".mobile-share-close", (function() {
                    e(".mobile-share-bg,.mobile-share-wrap").remove()
                })).on("click", ".kx-new", (function() {
                    window.location.href = window.location.href
                })).on("click", ".widget-kx-list .kx-title", (function() {
                    var a = e(this);
                    a.next().slideToggle("fast"),
                    a.closest(".kx-item").toggleClass("active"),
                    t.trigger("scroll")
                })).on("wpcom_not_login", (function() { !
                    function() {
                        if (0 === e("#login-modal").length) {
                            var t = '<div class="modal fade" id="login-modal">\n    <div class="modal-dialog modal-sm">\n        <div class="modal-content">\n            <div class="modal-header">\n                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">\xd7</span></button>\n                <h4 class="modal-title">\u8bf7\u767b\u5f55</h4>\n            </div>\n            <div class="modal-body">\n                <p>\u60a8\u8fd8\u672a\u767b\u5f55\uff0c\u8bf7\u767b\u5f55\u540e\u518d\u8fdb\u884c\u76f8\u5173\u64cd\u4f5c\uff01</p>\n            </div>\n           <div class="modal-footer">\n                    <a class="btn btn-primary" href="' + _wpcom_js.login_url + '">\u767b \u5f55</a>\n                    <a class="btn" href="' + _wpcom_js.register_url + '">\u6ce8 \u518c</a>\n                </div>\n        </div>\n    </div>\n</div>';
                            e("body").append(t)
                        }
                    } ()
                })).trigger("DOMSubtreeModified"), o.length && o.find(".widget").length && t.width() > 991) for (var m = 0; m < o.length; m++) h(e(o[m]));
                var f = e(".kx-list");
                if (f.length) {
                    var g;
                    window.kxDate = f.find(".kx-date"),
                    g = e("#wpadminbar").length ? e("#wpadminbar").outerHeight() + e("header.header").outerHeight() : e("header.header").outerHeight();
                    var v = kxDate.first().offset().top,
                    w = {
                        $el: null
                    },
                    y = e(".kx-new"),
                    b = kxDate.first().outerHeight();
                    t.scroll((function() {
                        var a = t.scrollTop(),
                        i = kxDate.length - 1;
                        e.each(kxDate, (function(t, s) {
                            var o = e(s),
                            r = o.offset().top - a - g;
                            return r > 0 && w.$el && w.top < 0 ? (kxDate.removeClass("fixed").css("width", "auto"), w.$el.addClass("fixed").css("top", g).css("width", f.outerWidth()), y.addClass("fixed").css("top", g + 36), void f.css("padding-top", b)) : 0 == t && r <= 0 ? (v - g >= a ? (kxDate.removeClass("fixed").css("width", "auto"), y.removeClass("fixed"), f.css("padding-top", 0)) : (kxDate.removeClass("fixed").css("width", "auto"), o.addClass("fixed").css("top", g).css("width", f.outerWidth()), y.addClass("fixed").css("top", g + 36), f.css("padding-top", b)), w.$el = o, void(w.top = r)) : (t == i && r <= 0 && (kxDate.removeClass("fixed").css("width", "auto"), o.addClass("fixed").css("top", g).css("width", f.outerWidth()), y.addClass("fixed").css("top", g + 36), f.css("padding-top", b)), w.$el = o, void(w.top = r))
                        }))
                    })),
                    setInterval((function() {
                        var t = e(".kx-item").first().data("id");
                        e.ajax({
                            url: _wpcom_js.ajaxurl,
                            data: {
                                id: t,
                                action: "wpcom_new_kuaixun"
                            },
                            method: "POST",
                            dataType: "text",
                            success: function(t) {
                                t >= 1 && e(".kx-new").html("\u60a8\u6709" + t + "\u6761\u65b0\u6d88\u606f\uff01").show()
                            }
                        })
                    }), 1e4)
                }
                e(".kx-list,.widget-kx-list,.entry-footer").on("click", ".share-icon", (function() {
                    var t = e(this),
                    a = kx_share(this);
                    if (a && t.hasClass("copy")) if (void 0 !== document.execCommand) {
                        var i = a.title + "\r\n" + a.description + "\r\n" + decodeURIComponent(a.url),
                        s = document.createElement("textarea");
                        s.value = i,
                        e("body").append(s),
                        s.style.position = "fixed",
                        s.style.height = 0,
                        s.select(),
                        document.execCommand("copy"),
                        s.remove(),
                        wpcom_alert("\u590d\u5236\u6210\u529f\uff01")
                    } else wpcom_alert("\u6d4f\u89c8\u5668\u6682\u4e0d\u652f\u6301\u62f7\u8d1d\u529f\u80fd")
                }))
            })),
            e(".navbar-search").on("keydown", ".navbar-search-input", (function() {
                e(this).closest(".navbar-search").removeClass("warning")
            })).on("submit", (function() {
                var t = e(this);
                if ("" == e.trim(t.find(".navbar-search-input").val())) return t.addClass("warning"),
                t.find(".navbar-search-input").focus(),
                !1
            })),
            e(document).on("click", (function(t) {
                var a = e(t.target);
                if (c && 0 === a.closest(".navbar-search").length && 0 === a.closest(".j-navbar-search").length) {
                    var i = e("header.header");
                    i.find(".navbar-search").fadeOut(300, (function() {
                        i.find(".primary-menu").fadeIn(300),
                        i.find(".j-navbar-search").fadeIn(300),
                        i.removeClass("is-search")
                    }))
                }
            })).on("click", ".j-navbar-search", (function() {
                var t = e("header.header");
                t.find(".j-navbar-search").fadeOut(300),
                t.find(".primary-menu").fadeOut(300, (function() {
                    t.find(".navbar-search").removeClass("warning").fadeIn(300, (function() {
                        e(".navbar-search-input").focus()
                    })),
                    t.addClass("is-search")
                }))
            })).on("click", ".navbar-search-close", (function() {
                var t = e("header.header");
                t.find(".navbar-search").fadeOut(300, (function() {
                    t.find(".primary-menu").fadeIn(300),
                    t.find(".j-navbar-search").fadeIn(300),
                    t.removeClass("is-search")
                }))
            })),
            e("body").on("click", "#j-reading-back", (function() {
                e("body").removeClass("reading"),
                e(this).remove(),
                t.trigger("scroll")
            })).on("click", "#j-reading", (function() {
                e("body").addClass("reading").append('<div class="reading-back" id="j-reading-back"><i class="wpcom-icon wi"><svg aria-hidden="true"><use xlink:href="#wi-back"></use></svg></i></div>')
            })),
            e(".entry").on("click", ".btn-zan", (function() {
                var t = e(this);
                if (!t.hasClass("liked")) {
                    var a = t.data("id");
                    e.ajax({
                        type: "POST",
                        url: _wpcom_js.ajaxurl,
                        data: {
                            action: "wpcom_like_it",
                            id: a
                        },
                        dataType: "json",
                        success: function(e) {
                            0 == e.result ? t.addClass("liked").find("span").html("(" + e.likes + ")") : -2 == e.result && t.addClass("liked")
                        }
                    })
                }
            })).on("click", ".j-heart", (function() {
                var t = e(this),
                a = t.data("id");
                e.ajax({
                    type: "POST",
                    url: _wpcom_js.ajaxurl,
                    data: {
                        action: "wpcom_heart_it",
                        id: a
                    },
                    dataType: "json",
                    success: function(a) {
                        0 == a.result ? (t.addClass("stared").find("span").html(a.favorites), t.find(".wi").removeClass("wi-star").addClass("wi-star-fill")) : 1 == a.result ? (t.removeClass("stared").find("span").html(a.favorites), t.find(".wi").removeClass("wi-star-fill").addClass("wi-star")) : -1 == a.result && e("#login-modal").modal()
                    }
                })
            })),
            e("#commentform").on("submit", (function() {
                var t = e(".comment-form-comment textarea"),
                a = 0,
                i = 0,
                s = e(this).find("input.required");
                if ("" == e.trim(t.val()) && (t.addClass("error").focus(), i = 1, a = 1), s.each((function(t, s) {
                    var o = e(s);
                    "" == e.trim(o.val()) && (o.addClass("error"), 0 == i && (o.focus(), i = 1), a = 1)
                })), a) return ! 1
            })).on("keydown", ".required", (function() {
                e(this).removeClass("error")
            })),
            e("#comments, #reviews").on("click", ".comment-must-login,#must-submit,.comment-reply-login", (function() {
                return e("#login-modal").modal(),
                !1
            }));
            var p = e(".entry-bar");
            function u() {
                p.offset().top + p.outerHeight() > t.scrollTop() + a ? (p.addClass("fixed"), p.find(".entry-bar-inner").css("width", e(".main").width())) : p.removeClass("fixed")
            }
            function h(i) {
                var s = i.parent(),
                o = s.offset().top,
                r = 0,
                n = 0,
                l = 0,
                d = i.closest(".container").find(".main");
                setTimeout((function() {
                    o = s.offset().top + parseInt(s.css("paddingTop")),
                    r = i.outerHeight()
                }), 2e3),
                d.length && (e(document).on("DOMSubtreeModified", (function() {
                    r = i.outerHeight(),
                    l = d.outerHeight(),
                    o = s.offset().top + parseInt(s.css("paddingTop")),
                    n = d.offset().top + l
                })), t.scroll((function() {
                    if (! (l <= r)) {
                        var e = t.scrollTop();
                        a - o > r ? e + r + o > n ? i.removeClass("fixed").addClass("abs").css({
                            bottom: 0,
                            top: "auto"
                        }) : i.removeClass("abs").addClass("fixed").css({
                            bottom: "auto",
                            top: o
                        }) : e + a > n ? i.addClass("abs").removeClass("fixed") : e + a > o + r ? i.addClass("fixed").removeClass("abs") : i.removeClass("fixed").removeClass("abs")
                    }
                })))
            }
            p.length && t.width() > 767 && (u(), t.scroll((function() {
                u()
            }))),
            e("#wrap").on("click", ".j-newslist .tab", (function() {
                var t = e(this),
                a = t.parent(),
                i = t.closest(".main-list").find(".tab-wrap");
                a.find(".tab").removeClass("active"),
                t.addClass("active"),
                i.removeClass("active"),
                i.eq(t.index()).addClass("active");
                var s = t.find("a").data("id");
                if (s && 1 != t.data("loaded")) {
                    i.eq(t.index()).addClass("loading");
                    var o = a.data("type"),
                    r = a.data("per_page");
                    e.ajax({
                        type: "POST",
                        url: _wpcom_js.ajaxurl,
                        data: {
                            action: "wpcom_load_posts",
                            id: s,
                            type: o || "default",
                            per_page: r
                        },
                        dataType: "html",
                        success: function(a) {
                            if (i.eq(t.index()).removeClass("loading"), "0" == a) i.eq(t.index()).html('<li class="item"><p style="text-align: center;color:#999;margin:10px 0;">\u6682\u65e0\u5185\u5bb9</p></li>');
                            else {
                                var s = e(a);
                                i.eq(t.index()).html(s),
                                s.find(".j-lazy").lazyload({
                                    webp: d,
                                    threshold: 250,
                                    effect: "fadeIn"
                                }),
                                e(window).trigger("scroll")
                            }
                            t.data("loaded", 1)
                        },
                        error: function() {
                            i.eq(t.index()).html('<li class="item"><p style="text-align: center;color:#999;margin:10px 0;">\u52a0\u8f7d\u5931\u8d25\uff0c\u8bf7\u7a0d\u540e\u518d\u8bd5\uff01</p></li>'),
                            i.eq(t.index()).removeClass("loading")
                        }
                    })
                }
            })).on("click", ".j-load-more, .j-user-posts, .j-user-comments, .j-user-favorites, .j-user-follows, .j-user-followers, .j-load-kx", (function() {
                var t = e(this);
                if (!t.hasClass("disabled") && !t.hasClass("loading")) {
                    var a = null,
                    i = t.data("page");
                    if (i = void 0 !== i ? i + 1 : 2, t.hasClass("j-user-posts")) a = {
                        action: "wpcom_user_posts",
                        user: (o = e(".profile-posts-list").data("user")) || 0,
                        page: i
                    };
                    else if (t.hasClass("j-user-comments")) {
                        a = {
                            action: "wpcom_user_comments",
                            user: (o = e(".profile-comments-list").data("user")) || 0,
                            page: i
                        }
                    } else if (t.hasClass("j-user-favorites")) {
                        a = {
                            action: "wpcom_user_favorites",
                            user: (o = e(".profile-favorites-list").data("user")) || 0,
                            page: i
                        }
                    } else if (t.hasClass("j-user-follows")) {
                        a = {
                            action: "wpcom_user_follows",
                            user: (o = e(".profile-tab").data("user")) || 0,
                            page: i
                        }
                    } else if (t.hasClass("j-user-followers")) {
                        a = {
                            action: "wpcom_user_followers",
                            user: (o = e(".profile-tab").data("user")) || 0,
                            page: i
                        }
                    } else if (t.hasClass("j-load-kx")) a = {
                        action: "wpcom_load_kuaixun",
                        page: i
                    };
                    else {
                        var o = t.data("id"),
                        r = t.data("exclude"),
                        n = t.closest(".main-list").find(".j-newslist"),
                        l = n.data("type"),
                        c = n.data("per_page");
                        a = {
                            action: "wpcom_load_posts",
                            id: o,
                            page: i,
                            type: l || "default",
                            per_page: c,
                            exclude: r
                        }
                    }
                    t.loading(1),
                    e.ajax({
                        type: "POST",
                        url: _wpcom_js.ajaxurl,
                        data: a,
                        dataType: "html",
                        success: function(a, o, r) {
                            if ("0" == a) {
                                if (t.addClass("disabled").text("\u5df2\u7ecf\u5230\u5e95\u4e86"), t.hasClass("j-user-followers"))(l = t.closest(".profile-tab-content")).find(".follow-items-loading").length && (l.find(".follow-items-loading").remove(), l.find(".profile-no-content").show())
                            } else {
                                var n = e(a);
                                if (t.hasClass("j-load-more")) t.parent().before(n);
                                else if (t.hasClass("j-load-kx")) e(n[0]).text() == e(".kx-list .kx-date:last").text() && n.first().hide(),
                                t.parent().before(n),
                                t.parent().parent().find(".kx-date:hidden").remove(),
                                window.kxDate = e(".kx-list .kx-date"),
                                s.
                            default.init();
                                else if (t.parent().prev().append(n), t.hasClass("j-user-follows")) e(document).trigger("check_follow");
                                else if (t.hasClass("j-user-followers")) {
                                    var l; (l = t.closest(".profile-tab-content")).find(".follow-items-loading").remove(),
                                    l.find(".follow-items").show(),
                                    "0" !== r.getResponseHeader("Next-page") && l.find(".load-more-wrap").show(),
                                    e(document).trigger("check_follow")
                                }
                                n.find(".j-lazy").lazyload({
                                    webp: d,
                                    threshold: 250,
                                    effect: "fadeIn"
                                }),
                                t.data("page", i),
                                e(window).trigger("scroll")
                            }
                            t.loading(0)
                        },
                        error: function() {
                            t.loading(0)
                        }
                    })
                }
            })).on("profile_tab_show", ".profile-tab-content", (function() {
                var t = e(this);
                t.closest(".profile-follows").length && t.find(".follow-items-loading").length && t.find(".j-user-followers").trigger("click")
            })),
            e(".special-wrap").on("click", ".load-more", (function() {
                var t = e(this);
                if (!t.hasClass("disabled") && !t.hasClass("loading")) {
                    var a = t.data("page");
                    a = a ? a + 1 : 2,
                    t.loading(1),
                    e.ajax({
                        type: "POST",
                        url: _wpcom_js.ajaxurl,
                        data: {
                            action: "wpcom_load_special",
                            page: a
                        },
                        dataType: "html",
                        success: function(i) {
                            if ("0" == i) t.addClass("disabled").text("\u5df2\u7ecf\u5230\u5e95\u4e86");
                            else {
                                var s = e(i);
                                t.closest(".special-wrap").find(".special-list").append(s),
                                s.find(".j-lazy").lazyload({
                                    webp: d,
                                    threshold: 250,
                                    effect: "fadeIn"
                                }),
                                t.data("page", a),
                                e(window).trigger("scroll")
                            }
                            t.loading(0)
                        },
                        error: function() {
                            t.loading(0)
                        }
                    })
                }
            }))
        } (jQuery)
    },
    {
        "../../../Themer/src/js/bootstrap": 1,
        "../../../Themer/src/js/common": 7,
        "../../../Themer/src/js/follow": 8,
        "../../../Themer/src/js/jquery.qrcode.min": 11,
        "../../../Themer/src/js/member": 12,
        "../../../Themer/src/js/message": 13,
        "../../../Themer/src/js/notification": 14,
        "../../../Themer/src/js/social-share": 15,
        "../../../Themer/src/js/swiper.jquery": 16,
        "../../../Themer/src/js/text-image": 17,
        "../../../Themer/src/js/user-card": 18
    }]
},
{},
[19]);